UNPKG

@yamada-ui/react

Version:

React UI components of the Yamada, by the Yamada, for the Yamada built with React and Emotion

1 lines 890 B
{"version":3,"file":"skeleton-circle.cjs","names":["Skeleton","mergeCSS"],"sources":["../../../../src/components/skeleton/skeleton-circle.tsx"],"sourcesContent":["import type { Component } from \"../../core\"\nimport type { SkeletonProps } from \"./skeleton\"\nimport { mergeCSS } from \"../../core\"\nimport { Skeleton } from \"./skeleton\"\n\nexport interface SkeletonCircleProps extends SkeletonProps {}\n\nexport const SkeletonCircle = (({ css, ...rest }: SkeletonCircleProps) => {\n return (\n <Skeleton\n css={mergeCSS(css, { \"--height\": \"sizes.10\", \"--width\": \"sizes.10\" })}\n _loading={{ rounded: \"full\" }}\n {...rest}\n />\n )\n}) as Component<\"div\", SkeletonCircleProps>\n"],"mappings":";;;;;;;AAOA,MAAa,mBAAmB,EAAE,IAAK,GAAG,WAAgC;AACxE,QACE,2CAACA;EACC,KAAKC,2BAAS,KAAK;GAAE,YAAY;GAAY,WAAW;GAAY,CAAC;EACrE,UAAU,EAAE,SAAS,QAAQ;EAC7B,GAAI;GACJ"}