Press n or j to go to the next uncovered block, b, p or k for the previous block.
| 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 | import { css } from '@emotion/react'; import { times } from 'lodash-es'; import { memo } from 'react'; import { Group, Skeleton, Typography } from '@allshares/studio-design-system'; const TAB_LABEL_PLACEHOLDER = 'Designer tab placeholder'; export const PlanHubRuleDesignerTabsSkeleton = memo(function PlanHubRuleDesignerTabsSkeleton() { return ( <Group align="center" css={css` padding: 0 24px; `} > {times(3).map((index) => ( <Group key={index} align="center" justify="center" css={css` padding: 6px 16px 16px 16px; `} > <Skeleton> <Typography variant="bodyLargeRegular">{TAB_LABEL_PLACEHOLDER}</Typography> </Skeleton> </Group> ))} </Group> ); }); |