MCPcopy Create free account
hub / github.com/adobe/react-spectrum / PageDescription

Function PageDescription

packages/dev/s2-docs/src/typography.tsx:180–193  ·  view source on GitHub ↗
(props: HTMLAttributes<HTMLParagraphElement>)

Source from the content-addressed store, hash-verified

178}
179
180export function PageDescription(props: HTMLAttributes<HTMLParagraphElement>) {
181 return (
182 <p
183 {...props}
184 className={style({
185 font: 'body-xl',
186 maxWidth: '--text-width',
187 marginX: 'auto',
188 marginTop: 8,
189 marginBottom: 24
190 })}
191 />
192 );
193}
194
195export function P({
196 isLongForm,

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected