Drawer

Interactable Drawer component

PROPS

namedescriptiontypedefault
dampingThe drawer top layer's dampingnumber0.7
tensionThe drawer top layer's tentionnumber300
onPressPress handlerfunc
onDragStartOnDragStart handlerfunc
rightItemsThe bottom layer's items to appear when opened from the rightarrayOf
leftItemThe bottom layer's item to appear when opened from the left (a single item)shape
equalWidthsWhether to give the items equal width (the max width)bool
itemsTintColorThe color for the text and icon tint of the itemsstringColors.white
itemsIconSizeThe items' icon sizenumber24
itemsTextStyleThe items' text styleunion