UNPKG

@tldraw/tlschema

Version:

tldraw infinite canvas SDK (schema).

12 lines (9 loc) 327 B
import { T } from '@tldraw/validate' import { StyleProp } from './StyleProp' /** @public */ export const DefaultFillStyle = StyleProp.defineEnum('tldraw:fill', { defaultValue: 'none', values: ['none', 'semi', 'solid', 'pattern', 'fill'], }) /** @public */ export type TLDefaultFillStyle = T.TypeOf<typeof DefaultFillStyle>