import { MaterialIcon } from '../../Icons/MaterialIcon' import { Typography } from '../../Typography' import styles from './linkListItem.module.css' import { IllustrationIcon, IllustrationIconProps, } from '../LinkListItem/IllustrationIcon' import { cx } from 'class-variance-authority' import { Link } from 'react-aria-components' export interface LinkListItemProps { text: string isExternal?: boolean href: string className?: string illustration?: IllustrationIconProps onClick?: () => void } export function LinkListItem({ text, isExternal, href, illustration, onClick, }: LinkListItemProps) { return ( {illustration && (
{text}