FooterValue
A writable part of an expression: a text field inline in the notation.
@internote/canvas-sdk/reactOn this page
import { FooterValue } from '@internote/canvas-sdk/react';With readOnly it is the value as text rather than a field, for a locked element.
#Props
Takes no className, style or id.
ariaLabelThe field's accessible name.
stringinvalidWhether to mark the value as not one the environment can use.
booleanonChangeCalled on every keystroke, with the field's new text.
(value: string) => voidplaceholderShown while the field is empty.
stringreadOnlyShown, not offered — a locked element's value reads as text.
booleantitleThe field's tooltip — room to say why a value is invalid.
stringvalueThe text in the field.
stringwidthshort for a coordinate, auto to take the room a formula needs.shortautoDefault
'auto'Declared in packages/canvas-sdk/src/react/footer-notation.tsx:67.