diff --git a/package.json b/package.json index 29c02ba..3566cba 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@team-return/design-system", - "version": "1.1.7", + "version": "1.1.8", "repository": { "type": "git", "url": "https://github.com/Team-Return/JOBIS-DESIGN-SYSTEM.git" diff --git a/src/components/Text/Text.tsx b/src/components/Text/Text.tsx index 5cd1588..c2b0874 100644 --- a/src/components/Text/Text.tsx +++ b/src/components/Text/Text.tsx @@ -15,7 +15,7 @@ interface TextProps extends marginCssType { cursor?: CSSProperties['cursor']; align?: CSSProperties['alignItems']; width?: number; - whiteSpace?: CSSProperties['whiteSpace']; + whitespace?: CSSProperties['whiteSpace']; } export const Text = ({ @@ -29,7 +29,7 @@ export const Text = ({ align, margin, width, - whiteSpace = 'pre-line', + whitespace = 'pre-line', }: TextProps) => { return ( {children} @@ -56,5 +56,5 @@ const Wrapper = styled.div` ${({ margin }) => marginToCss({ margin })}; text-align: ${({ align }) => align}; cursor: ${({ cursor }) => cursor}; - white-space: ${({ whiteSpace }) => whiteSpace}; + white-space: ${({ whitespace }) => whitespace}; `;