Skip to content

Commit

Permalink
chore: size는 모든 string 허용
Browse files Browse the repository at this point in the history
  • Loading branch information
whitedev7773 committed Nov 8, 2024
1 parent 1352476 commit 8ebb235
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/typograph/Text.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ export const Text = ({
};

Text.propTypes = {
size: PropTypes.oneOf(['xs', 's', 'm', 'l', 'xl', 'sxl']),
size: PropTypes.string,
weight: PropTypes.oneOf(['light', 'regular', 'bold', 'extrabold', 'heavy']),
color: PropTypes.string,
children: PropTypes.node,
Expand Down

0 comments on commit 8ebb235

Please sign in to comment.