m3e/bottom_sheet_action

bottom_sheet_action provides Lustre support for the M3E Bottom Sheet Action component

Types

BottomSheetAction is an element, nested within a clickable element, used to close a parenting bottom sheet

Fields:

  • label: the label of the action
pub opaque type BottomSheetAction

Values

pub fn label(
  arg: BottomSheetAction,
  label: String,
) -> BottomSheetAction

label sets the label field of a BottomSheetAction

pub fn new() -> BottomSheetAction

new creates a new BottomSheetAction

pub fn render(b: BottomSheetAction) -> element.Element(msg)

render creates a Lustre Element from a BottomSheetAction

Search Document