at main 464 B view raw
1import { cn } from '@/lib/utils'; 2import React from 'react'; 3import { bulletStyles, listBase } from './UnorderedList.styles'; 4import { UnorderedListProps } from './UnorderedList.types'; 5 6export const UnorderedList: React.FC<UnorderedListProps> = ({ children, bullet = 'disc', className = '', ...props }) => { 7 return ( 8 <ul className={cn(listBase, bulletStyles[bullet], className)} {...props}> 9 {children} 10 </ul> 11 ); 12}; 13 14export default UnorderedList;