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 { memo, type ReactNode } from 'react'; import { Group, Paper } from '@allshares/studio-design-system'; export type LtiPlanProgressCardProps = { readonly indicators: ReactNode; readonly chart?: ReactNode; }; export const LtiPlanProgressCard = memo(function LtiPlanProgressCard({ indicators, chart }: LtiPlanProgressCardProps) { return ( <Paper> {!!chart && ( <div css={css` padding: 24px 40px; `} > {chart} </div> )} <Group css={css` border-top: 1px solid var(--ds-border-color-100); `} > {indicators} </Group> </Paper> ); }); |