Table of contents

Public interface

Signature
interface TLUiButtonPickerProps<T extends string> {}
Source

packages/tldraw/src/lib/ui/components/primitives/TldrawUiButtonPicker.tsx


Properties

items

Public propertysignature

Signature
items: StyleValuesForUi<T>

onValueChange

Public propertysignature

Signature
onValueChange: (style: StyleProp<T>, value: T, squashing: boolean) => void
References

StyleProp


style

Public propertysignature

Signature
style: StyleProp<T>
References

StyleProp


theme

Public propertysignature

Signature
theme: TLDefaultColorTheme
References

TLDefaultColorTheme


title

Public propertysignature

Signature
title: string

uiType

Public propertysignature

Signature
uiType: string

value

Public propertysignature

Signature
value: SharedStyle<T>
References

SharedStyle


TLUiButtonLabelPropsTLUiButtonProps