FragmentProps
Props of Fragment: its children and a key.
Usage
Return several children without a wrapper view.
This type is used by Fragment
// Return several children without a wrapper view.
import { Fragment, Text } from 'kuito';
<Fragment>
<Text>Title</Text>
<Text>Subtitle</Text>
</Fragment>;Type declaration
export interface FragmentProps extends ElementAttributes {
children?: KuitoNode;
}Members 2
| Name | Type | Required | Description |
|---|---|---|---|
children | KuitoNode | No | — |
key | string | number | No | — |
Generated from the public TypeScript declarations: signatures, props and defaults come from the checked source, descriptions from its JSDoc. No defaults are invented.