({isLongForm, ...props}: HTMLAttributes<HTMLLIElement> & {isLongForm?: boolean})
| 215 | } |
| 216 | |
| 217 | export function LI({isLongForm, ...props}: HTMLAttributes<HTMLLIElement> & {isLongForm?: boolean}) { |
| 218 | return ( |
| 219 | <li |
| 220 | {...props} |
| 221 | className={style({ |
| 222 | font: 'body-lg', |
| 223 | fontFamily: { |
| 224 | default: 'sans', |
| 225 | isLongForm: 'serif' |
| 226 | }, |
| 227 | textWrap: 'pretty', |
| 228 | marginY: { |
| 229 | default: 0, |
| 230 | isLongForm: 8 |
| 231 | }, |
| 232 | maxWidth: '--text-width', |
| 233 | marginX: 'auto' |
| 234 | })({isLongForm})} |
| 235 | /> |
| 236 | ); |
| 237 | } |
| 238 | |
| 239 | interface SubpageHeaderProps { |
| 240 | currentPage: Page; |
nothing calls this directly
no outgoing calls
no test coverage detected