arrowBindingProps

See source code

Validation schema for arrow binding properties. Defines the runtime validation rules for each property in TLArrowBindingProps.

arrowBindingProps: RecordProps<TLArrowBinding>

Example

import { arrowBindingProps } from '@tldraw/tlschema'

// Use in custom shape schema
const customSchema = createTLSchema({
  bindings: {
    arrow: {
      props: arrowBindingProps,
      migrations: arrowBindingMigrations,
    },
  },
})
Prev
arrowBindingMigrations
Next
arrowBindingVersions