Table of contents

Public interface

Signature
interface TLUiIconProps extends React.HTMLProps<HTMLDivElement> {}
Source

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


Properties

children

Public propertysignature

Signature
children?: undefined

color

Public propertysignature

Signature
color?: string

crossOrigin

Public propertysignature

Signature
crossOrigin?: 'anonymous' | 'use-credentials'

icon

Public propertysignature

Signature
icon: Exclude<string, TLUiIconType> | TLUiIconType
References

TLUiIconType


invertIcon

Public propertysignature

Signature
invertIcon?: boolean

small

Public propertysignature

Signature
small?: boolean

TLUiHelpMenuSchemaContextTypeTLUiIconType