import { ListProps, UnorderedList, Flex, ListItem, ListIcon, } from '@chakra-ui/react' import { CheckIcon } from '@/components/icons' type FeaturesListProps = { features: (string | JSX.Element)[] } & ListProps export const FeaturesList = ({ features, ...props }: FeaturesListProps) => ( {features.map((feat, idx) => ( {feat} ))} )