Skip to content
This repository has been archived by the owner on Aug 29, 2023. It is now read-only.

Commit

Permalink
fix: syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
rudigier committed Apr 16, 2023
1 parent bff592d commit 924264c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/Atoms/Headline/Headline.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ export const HeadlineSizeMap: Record<THeadline['level'], string> = {
*/

export const Headline: FC<THeadlineProps> = ({ children, level = 1, as: Tag = `h${level}`, ...props }) => (
<Tag className={['leading-tight', 'overflow-hidden text-ellipsis' HeadlineSizeMap[level]].join(' ')} {...props}>
<Tag className={['leading-tight', 'overflow-hidden text-ellipsis', HeadlineSizeMap[level]].join(' ')} {...props}>
{children}
</Tag>
);

0 comments on commit 924264c

Please sign in to comment.