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

Function Step

packages/dev/s2-docs/src/Step.tsx:14–30  ·  view source on GitHub ↗
({children})

Source from the content-addressed store, hash-verified

12}
13
14export function Step({children}) {
15 return (
16 <li
17 style={{counterIncrement: 'step'}}
18 className={style({
19 font: {
20 default: 'body',
21 lg: 'body-lg'
22 },
23 marginY: 0,
24 listStyleType: 'none',
25 position: 'relative'
26 })}>
27 {children}
28 </li>
29 );
30}
31
32export function Counter() {
33 return (

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected