Genesis
@beta

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-native
import { NativeBulkBar } from "@marktiderman/genesis-ui-native";
Components
Auto-generated from TypeScript source via react-docgen-typescript.

NativeBulkBar

PropTypeDefaultDescription
actions*NativeBulkAction[]—
onClearSelection*() => void—
onToggleAll*() => void—
selected*Set<string>—
totalCount*number—
classNamestring—Merged onto the bar.
clearLabelstringClearDefault "Clear".
selectedLabel((count: number) => string)(count) => `${count} selected`"{count} selected". Default English.
testIDstringnative-bulk-bar