Docs (4.0.0)
class UIComponent type

type DecorationStyleType

Options for the appearance of UI components.

static

type DecorationStyleType = {
    background?: UIColor;
    textColor?: UIColor;
    borderColor?: UIColor;
    borderStyle?: string;
    borderThickness?: Offsets;
    borderRadius?: string | number;
    padding?: Offsets;
    opacity?: number;
    css?: Partial<CSSStyleDeclaration>;
}

Notes

  • The css property can be used to include miscellaneous CSS attributes, at your own risk.

Related

  • class UIComponent abstractBase class for built-in UI components.
  • class UIStyleA class that defines a set of styles that can be applied to UI components.