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

Function StepList

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

Source from the content-addressed store, hash-verified

2import {style} from '@react-spectrum/s2/style' with {type: 'macro'};
3
4export function StepList({children}) {
5 return (
6 <ol
7 style={{counterReset: 'step'}}
8 className={style({font: 'body', paddingStart: {default: 0, md: 'calc(1lh + 8px)'}})}>
9 {children}
10 </ol>
11 );
12}
13
14export function Step({children}) {
15 return (

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected