@manta-eu/react/section
Reference for @manta-eu/react/section as it is on main.
Type Aliases
SectionAction
SectionAction =
object
Properties
disabled?
optionaldisabled?:boolean
hint?
optionalhint?:string
icon?
optionalicon?:LucideIcon
label
label:
string
onClick
onClick: () =>
void
Returns
void
SectionActionsWrap
SectionActionsWrap =
"end"|"start"
SectionHeadingLevel
SectionHeadingLevel =
2|3|4
SectionLink
SectionLink =
object
Properties
label
label:
string
to
to:
string
SectionMenuItem
SectionMenuItem =
object
Properties
checked?
optionalchecked?:boolean
disabled?
optionaldisabled?:boolean
icon?
optionalicon?:LucideIcon
key
key:
string
label
label:
string
onSelect
onSelect: () =>
void
Returns
void
SectionMenuProps
SectionMenuProps =
object
Properties
items
items:
SectionMenuItem[]
label
label:
string
onCloseAutoFocus?
optionalonCloseAutoFocus?: (event) =>void
Parameters
event
Event
Returns
void
SectionProps
SectionProps =
object
Properties
action?
optionalaction?:SectionAction
actionsWrap?
optionalactionsWrap?:SectionActionsWrap
caption?
optionalcaption?:ReactNode
children?
optionalchildren?:ReactNode
className?
optionalclassName?:string
foot?
optionalfoot?:ReactNode
headingLevel?
optionalheadingLevel?:SectionHeadingLevel
info?
optionalinfo?:ReactNode
label?
optionallabel?:string
link?
optionallink?:SectionLink
menu?
optionalmenu?:SectionMenuItem[]
menuLabel?
optionalmenuLabel?:string
meta?
optionalmeta?:ReactNode
secondaryAction?
optionalsecondaryAction?:SectionAction
settings?
optionalsettings?:ReactNode
surface?
optionalsurface?:SectionSurface
title?
optionaltitle?:string
SectionSurface
SectionSurface =
"panel"|"muted"|"plain"
muted is a borderless tinted panel, for a section on a card-colored page.
SeeAllLinkProps
SeeAllLinkProps =
SectionLink&object
Type Declaration
className?
optionalclassName?:string
Functions
Section()
Section(
props):Element
Parameters
props
Returns
Element
SectionMenu()
SectionMenu(
props):Element
Parameters
props
Returns
Element
SeeAllLink()
SeeAllLink(
props):Element
Parameters
props
Returns
Element