We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ac91e1e commit 1d329a2Copy full SHA for 1d329a2
1 file changed
src/components/Skeleton/index.tsx
@@ -17,7 +17,7 @@ const Skeleton: React.FC<SkeletonProps> = ({
17
// width와 height가 숫자인 경우 rem 단위를 추가
18
const getSize = (size: string | number) => {
19
if (typeof size === 'number') {
20
- return `${size}px`;
+ return `${size}rem`;
21
}
22
return size;
23
};
0 commit comments