Public readonly variable

Signature
textShapeProps: {
  autoSize: T.Validator<boolean>
  color: import('..').EnumStyleProp<
    | 'black'
    | 'blue'
    | 'green'
    | 'grey'
    | 'light-blue'
    | 'light-green'
    | 'light-red'
    | 'light-violet'
    | 'orange'
    | 'red'
    | 'violet'
    | 'white'
    | 'yellow'
  >
  font: import('..').EnumStyleProp<'draw' | 'mono' | 'sans' | 'serif'>
  scale: T.Validator<number>
  size: import('..').EnumStyleProp<'l' | 'm' | 's' | 'xl'>
  text: T.Validator<string>
  textAlign: import('..').EnumStyleProp<'end' | 'middle' | 'start'>
  w: T.Validator<number>
}
References

T.Validator, EnumStyleProp

Source

packages/tlschema/src/shapes/TLTextShape.ts

textShapeMigrationsTL_CANVAS_UI_COLOR_TYPES