Files
explorer-monorepo/frontend/src/components/common/TokenListSurfaceNote.tsx

14 lines
430 B
TypeScript
Raw Normal View History

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>
}