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

Function getRenderProps

packages/react-aria-components/src/Wizard.tsx:714–719  ·  view source on GitHub ↗
(renderProps: R)

Source from the content-addressed store, hash-verified

712
713 // Adds the step state to the render props that Tab provides.
714 let getRenderProps = <R extends TabRenderProps>(renderProps: R): R & WizardStepRenderProps => ({
715 ...renderProps,
716 isCurrent,
717 isCompleted,
718 stepNumber
719 });
720
721 let tabProps: TabProps & {
722 'aria-current'?: 'step';

Callers 1

Wizard.tsxFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected