MCPcopy
hub / github.com/chakra-ui/ark / ProgressView

Function ProgressView

packages/solid/src/components/progress/progress-view.tsx:10–16  ·  view source on GitHub ↗
(props: ProgressViewProps)

Source from the content-addressed store, hash-verified

8export interface ProgressViewProps extends HTMLProps<'span'>, ProgressViewBaseProps {}
9
10export const ProgressView = (props: ProgressViewProps) => {
11 const [state, localProps] = createSplitProps<ViewProps>()(props, ['state'])
12 const api = useProgressContext()
13 const mergedProps = mergeProps(() => api().getViewProps(state), localProps)
14
15 return <ark.span {...mergedProps} />
16}

Callers

nothing calls this directly

Calls 1

createSplitPropsFunction · 0.90

Tested by

no test coverage detected