14 lines
430 B
TypeScript
14 lines
430 B
TypeScript
|
|
import { TOKEN_LIST_SURFACE_LABELS, type TokenListSurface } from '@/services/api/tokenListSurfaces'
|
||
|
|
|
||
|
|
interface TokenListSurfaceNoteProps {
|
||
|
|
surface?: TokenListSurface
|
||
|
|
className?: string
|
||
|
|
}
|
||
|
|
|
||
|
|
export default function TokenListSurfaceNote({
|
||
|
|
surface = 'extended',
|
||
|
|
className = 'text-sm text-gray-600 dark:text-gray-400',
|
||
|
|
}: TokenListSurfaceNoteProps) {
|
||
|
|
return <p className={className}>{TOKEN_LIST_SURFACE_LABELS[surface]}</p>
|
||
|
|
}
|