Skip to content
This repository was archived by the owner on Apr 27, 2022. It is now read-only.

Customizable components

Xavier Via edited this page Aug 13, 2016 · 1 revision

Customizable components accept a customize prop where some overrides are specified. This overrides are then used in inline styles in the HTML elements of the components.

Unlike the other ways of overriding styles, this strategy works in runtime, since it doesn't need static CSS definitions. For the same reason, the customizations are only supported for a very specific set of properties:

  • Button: backgroundColor and textColor
  • Field: borderColor and borderColorSelected
  • Link: textColor
  • Switch: backgroundColor and bulletColor

Clone this wiki locally