Manta Developers
GitHub
Menu

@manta-eu/react/selection-bar

Reference for @manta-eu/react/selection-bar as it is on main.

Type Aliases

SelectionBarAction

SelectionBarAction = object

Properties

disabled?

optional disabled?: boolean

hint?

optional hint?: string

icon?

optional icon?: LucideIcon

key

key: string

label

label: string

onClick

onClick: () => void

Returns

void

tone?

optional tone?: "danger"


SelectionBarExtend

SelectionBarExtend = object

Properties

label

label: string

onClick

onClick: () => void

Returns

void


SelectionBarNoun

SelectionBarNoun = object

Properties

one

one: string

other

other: string


SelectionBarPlacement

SelectionBarPlacement = "inline" | "dock"


SelectionBarProps

SelectionBarProps = object

Properties

actions

actions: readonly SelectionBarAction[]

busy?

optional busy?: boolean

className?

optional className?: string

count

count: number

data-testid?

optional data-testid?: string

extend?

optional extend?: SelectionBarExtend

noun

noun: SelectionBarNoun

onClear

onClear: () => void

Returns

void

placement?

optional placement?: SelectionBarPlacement

Functions

SelectionBar()

SelectionBar(props): Element

Parameters

props

SelectionBarProps

Returns

Element


selectionCount()

selectionCount(count, noun): string

Parameters

count

number

noun

SelectionBarNoun

Returns

string