LookSwatch
The swatch a look is drawn as — a square where it is a fill, a line where it is a stroke, the marker where it is a shape, a disc otherwise — exactly as the key draws its entry. Whatever shows a thing's colour outside the key draws it with this.
@internote/canvas-sdk/reactOn this page
import { LookSwatch } from '@internote/canvas-sdk/react';#Props
Takes no className, style or id.
coloursEvery colour a disc stands for, stacked; just
look.colour where absent.readonly string[]lookThe look: its colour, and its fill, stroke or marker.
KeyLookDeclared in packages/canvas-sdk/src/react/footer-key.tsx:226.