blocks/mosaic
@fungi.computer/caps / blocks/mosaic
blocks/mosaic
Section titled “blocks/mosaic”Type Aliases
Section titled “Type Aliases”MosaicItem
Section titled “MosaicItem”MosaicItem =
object
A caller-resolved visual tile.
Properties
Section titled “Properties”
optionalalt?:string
height?
Section titled “height?”
optionalheight?:number
id:
string
disabled?
Section titled “disabled?”
optionaldisabled?:boolean
state?
Section titled “state?”
optionalstate?:"loading"|"ready"|"error"
optionalurl?:string
width?
Section titled “width?”
optionalwidth?:number
MosaicProps
Section titled “MosaicProps”MosaicProps =
HTMLAttributes<HTMLDivElement> > &object
Props accepted by Mosaic.
Type Declaration
Section titled “Type Declaration”empty?
Section titled “empty?”
optionalempty?:ReactNode
items: readonly
MosaicItem[]
label?
Section titled “label?”
optionallabel?:ReactNode
Caller-owned accessible copy for the list.
onOpen?
Section titled “onOpen?”
optionalonOpen?: (item) =>void
When absent, tiles are deliberately non-interactive.
Parameters
Section titled “Parameters”Returns
Section titled “Returns”void
Variables
Section titled “Variables”Mosaic
Section titled “Mosaic”
constMosaic:ForwardRefExoticComponent<HTMLAttributes<HTMLDivElement> > &object&RefAttributes<HTMLDivElement>>>>
Renders supplied tiles only; callers resolve data, policy, and navigation.