Public function

Signature
function TextStylePickerSet({
  theme,
  styles,
}: {
  styles: ReadonlySharedStyleMap
  theme: TLDefaultColorTheme
}): import('react/jsx-runtime').JSX.Element | null
Parameters
NameDescription

{ theme, styles, }

{
  styles: ReadonlySharedStyleMap
  theme: TLDefaultColorTheme
}
Returns
import('react/jsx-runtime').JSX.Element | null
References

ReadonlySharedStyleMap, TLDefaultColorTheme

Source

packages/tldraw/src/lib/ui/components/StylePanel/DefaultStylePanelContent.tsx

TextShapeUtilTextToolbarItem