FooterMarker

The small coloured icon at the start of a FooterListRow that shows what kind of element the row is, drawn in the element's colour.

@internote/canvas-sdk/reactComponent
On this page
import { FooterMarker } from '@internote/canvas-sdk/react';

The environment draws the icon, since only it knows what its elements look like. Given onClick, the marker is a button, such as one that opens the row's settings.

#Props

Takes no className, style or id.

ariaLabel
The accessible name when the marker is a button.
string
children
The mark itself, drawn by the environment in currentColor.
ReactNode
colourRequired
The element's CSS colour, which the mark is drawn in.
string
onClick
Called when the marker is pressed; without it the marker is not a button.
() => void
tint
The pale ground the mark sits on — its own hue, a shade of nothing.
string

Declared in packages/canvas-sdk/src/react/footer-list.tsx:152.

Last updated