You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
19 lines
455 B
19 lines
455 B
export interface DotListProps { |
|
content: string[]; |
|
className?: string; |
|
} |
|
|
|
export function DotList(props: DotListProps) { |
|
return ( |
|
<p className={`text-denim-700 font-semibold ${props.className || ""}`}> |
|
{props.content.map((item, index) => ( |
|
<span key={item}> |
|
{index !== 0 ? ( |
|
<span className="mx-[0.6em] text-[1em]">●</span> |
|
) : null} |
|
{item} |
|
</span> |
|
))} |
|
</p> |
|
); |
|
}
|
|
|