@tldraw/tlschema
Version:
tldraw infinite canvas SDK (schema).
12 lines (9 loc) • 320 B
text/typescript
import { T } from '@tldraw/validate'
import { StyleProp } from './StyleProp'
/** @public */
export const DefaultDashStyle = StyleProp.defineEnum('tldraw:dash', {
defaultValue: 'draw',
values: ['draw', 'solid', 'dashed', 'dotted'],
})
/** @public */
export type TLDefaultDashStyle = T.TypeOf<typeof DefaultDashStyle>