NativeBulkBar
BulkBar — the selection action bar: how many are selected, select all, the bulk actions, and Clear. The twin of genesis-ui's `DataBulkBar`, with the same props; it renders nothing while nothing is selected. On the phone it sits at the bottom of the screen, above the tab bar: render it after the list, inside the screen (not over the tab bar).
packages/ui-native/src/components/bulk-bar.tsx
Import
Subpath export:
@marktiderman/genesis-ui-nativeimport { NativeBulkBar } from "@marktiderman/genesis-ui-native";Components
Auto-generated from TypeScript source via
react-docgen-typescript.NativeBulkBar
| Prop | Type | Default | Description |
|---|---|---|---|
| actions* | NativeBulkAction[] | — | |
| onClearSelection* | () => void | — | |
| onToggleAll* | () => void | — | |
| selected* | Set<string> | — | |
| totalCount* | number | — | |
| className | string | — | Merged onto the bar. |
| clearLabel | string | Clear | Default "Clear". |
| selectedLabel | ((count: number) => string) | (count) => `${count} selected` | "{count} selected". Default English. |
| testID | string | native-bulk-bar |