({properties}: {properties: string[]})
| 4 | const Code = ({children}) => <code className={style({font: 'code'})}>{children}</code>; |
| 5 | |
| 6 | export function S2StyleProperties({properties}: {properties: string[]}) { |
| 7 | return ( |
| 8 | <ul |
| 9 | className={style({ |
| 10 | fontSize: 'body-lg', |
| 11 | lineHeight: 'body', |
| 12 | color: 'body', |
| 13 | padding: 0, |
| 14 | listStyleType: 'none', |
| 15 | display: 'grid', |
| 16 | gridTemplateColumns: { |
| 17 | default: 'repeat(2, minmax(0, 1fr))', |
| 18 | sm: 'repeat(3, minmax(0, 1fr))' |
| 19 | } |
| 20 | })}> |
| 21 | {properties.map(property => ( |
| 22 | <li key={property}> |
| 23 | <Code>{property}</Code> |
| 24 | </li> |
| 25 | ))} |
| 26 | </ul> |
| 27 | ); |
| 28 | } |
nothing calls this directly
no outgoing calls
no test coverage detected