Skip to content

Commit

Permalink
change tag to p
Browse files Browse the repository at this point in the history
  • Loading branch information
Cloud11PL committed Oct 3, 2024
1 parent b4410bf commit 2d4f843
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/Paragraph/Paragraph.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { TextProps, Text } from "../Text";

export const Paragraph = forwardRef<HTMLSpanElement, TextProps>(
({ ...rest }, ref) => {
return <Text ref={ref} display="block" {...rest} />;
return <Text ref={ref} display="block" as="p" {...rest} />;
}
);

Expand Down

0 comments on commit 2d4f843

Please sign in to comment.