({
isLongForm,
...props
}: HTMLAttributes<HTMLParagraphElement> & {isLongForm?: boolean})
| 193 | } |
| 194 | |
| 195 | export function P({ |
| 196 | isLongForm, |
| 197 | ...props |
| 198 | }: HTMLAttributes<HTMLParagraphElement> & {isLongForm?: boolean}) { |
| 199 | return ( |
| 200 | <p |
| 201 | {...props} |
| 202 | className={style({ |
| 203 | font: 'body-lg', |
| 204 | fontFamily: { |
| 205 | default: 'sans', |
| 206 | isLongForm: 'serif' |
| 207 | }, |
| 208 | textWrap: 'pretty', |
| 209 | marginY: '[1lh]', |
| 210 | maxWidth: '--text-width', |
| 211 | marginX: 'auto' |
| 212 | })({isLongForm})} |
| 213 | /> |
| 214 | ); |
| 215 | } |
| 216 | |
| 217 | export function LI({isLongForm, ...props}: HTMLAttributes<HTMLLIElement> & {isLongForm?: boolean}) { |
| 218 | return ( |
nothing calls this directly
no outgoing calls
no test coverage detected