Skip to main content

Theme

Import​

import { Theme } from '@resultadosdigitais/tangram-components'

Properties​

children​

Typenode

Description​

Sets the children

as​

TypeelementType | string
Default'div'

Description​

Sets the element type to be rendered for this component. By default, it will render a <div> element.

value​

Type
Enum of:
  • Theme.kinds.lina
  • Theme.kinds.crm
  • Theme.kinds.marketing
DefaultTheme.kinds.lina

Description​

Sets the theme.

Theme.kinds.crm and Theme.kinds.marketing are deprecated.

mode​

Typestring
Default'light'

Description​

Sets the theme mode.

Feedback​