Props
Name | Type | Default | Description |
---|---|---|---|
at | number | - | The index of the child we want to render. |
See also Some
import { One } from 'flowr';
One
will render only the child located at the specified index.
A
B
C
// Will render:
C
If the at
prop is not provided, nothing will be rendered.
A
B
C
// Will render:
Props
Name Type Default Description at number - The index of the child we want to render.
See also Some
Contribute on Github! Edit this section.