Public function

Signature
function useRelevantStyles(
  stylesToCheck?: readonly StyleProp<any>[]
): null | ReadonlySharedStyleMap
Parameters
NameDescription

stylesToCheck

readonly StyleProp<any>[]
Returns
null | ReadonlySharedStyleMap
References

StyleProp, ReadonlySharedStyleMap

Source

packages/tldraw/src/lib/ui/hooks/useRelevantStyles.ts

useReadonlyuseTldrawUiComponents