Options
All
  • Public
  • Public/Protected
  • All
Menu

Index

Type aliases

ExprEditorProps<T>: { locale: string; value?: ExprOr<T>; onChange: any }

Type parameters

  • T

Type declaration

  • locale: string
  • Optional value?: ExprOr<T>
  • onChange:function
    • onChange(value: undefined | ExprOr<T>): void
    • Parameters

      Returns void

Variables

BooleanExprEditor: React.FC<ExprEditorProps<boolean>> = ...
ColorExprEditor: React.FC<ExprEditorProps<string>> = ...
NumberExprEditor: React.FC<ExprEditorProps<number> & { max?: number; min?: number }> = ...
SliderExprEditor: React.FC<ExprEditorProps<number> & { labelStepSize?: number; max?: number; min?: number }> = ...
StringExprEditor: React.FC<ExprEditorProps<string>> = ...

Functions

  • contrast(colorHex: undefined | string, threshold?: number): string
  • Parameters

    • colorHex: undefined | string
    • threshold: number = 128

    Returns string

Generated using TypeDoc