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/reactComponent
On this page
import { LookSwatch } from '@internote/canvas-sdk/react';

#Props

Takes no className, style or id.

colours
Every colour a disc stands for, stacked; just look.colour where absent.
readonly string[]
lookRequired
The look: its colour, and its fill, stroke or marker.
KeyLook

Declared in packages/canvas-sdk/src/react/footer-key.tsx:226.

Last updated