|
|
### API
|
|
|
|
|
|
#### `<ReactWebDigest>`/`<ReactNativeDigest>`/`<ReactNativeWebDigest>` Props
|
|
|
|
|
|
> The root component. [Extends the base API.](https://gitlab.com/digested/dgui/-/wikis/@dgui%E2%A7%B8react%E2%80%91*)
|
|
|
|
|
|
| Prop | Type | Default | Description |
|
|
|
|---|---|---|---|
|
|
|
| `drawerIndex` | `number` | | The initial and current drawer index |
|
|
|
| `onSelectTab` | `(tabIndex: number) => void` | | Callback function when tab index is changed |
|
|
|
| `onSelectDrawer` | `(drawerIndex: number) => void` | | Callback function when drawer index is changed |
|
|
|
|
|
|
#### `<ReactWebDigestTab>`/`<ReactNativeDigestTab>`/`<ReactNativeWebDigestTab>` Props
|
|
|
|
|
|
> The tab component. [Extends the base API.](https://gitlab.com/digested/dgui/-/wikis/@dgui%E2%A7%B8react%E2%80%91*)
|
|
|
|
|
|
| Prop | Type | Default | Description |
|
|
|
|---|---|---|---|
|
|
|
| | | | |
|
|
|
|
|
|
#### `<ReactWebDigestDrawer>`/`<ReactNativeDigestDrawer>`/`<ReactNativeWebDigestDrawer>` Props
|
|
|
|
|
|
> The drawer component. [Extends the base API.](https://gitlab.com/digested/dgui/-/wikis/@dgui%E2%A7%B8react%E2%80%91*)
|
|
|
|
|
|
| Prop | Type | Default | Description |
|
|
|
|---|---|---|---|
|
|
|
| | | | |
|
|
|
|
|
|
#### `<ReactWebDigestAppBar>`/`<ReactNativeDigestAppBar>`/`<ReactNativeWebDigestAppBar>` Props
|
|
|
|
|
|
> The AppBar component. Omit if you do not want an AppBar. [Extends the base API.](https://gitlab.com/digested/dgui/-/wikis/@dgui%E2%A7%B8react%E2%80%91*)
|
|
|
|
|
|
| Prop | Type | Default | Description |
|
|
|
|---|---|---|---|
|
|
|
| | | | |
|
|
|
|
|
|
#### `<ReactWebDigestDrawerBar>`/`<ReactNativeDigestDrawerBar>`/`<ReactNativeWebDigestDrawerBar>` Props
|
|
|
|
|
|
> The DrawerBar component. Omit if you do not want an DrawerBar. [Extends the base API.](https://gitlab.com/digested/dgui/-/wikis/@dgui%E2%A7%B8react%E2%80%91*)
|
|
|
|
|
|
| Prop | Type | Default | Description |
|
|
|
|---|---|---|---|
|
|
|
| | | | | |
|
|
\ No newline at end of file |