Subheader
Extends:
react-native~Component → Subheader
Subheader Component
Example:
<Subheader text="Subheader normal"/>
<Subheader text="Subheader with color" primaryColor={COLOR[`${primary}500`].color}/>
<Subheader text="Subheader normal, inset" inset={true}/>
<Subheader text="Subheader with color, inset" primaryColor={COLOR[`${primary}500`].color}inset={true}/>
Constructor Summary
Public Constructor | ||
public |
constructor(props: object) |
Public Constructors
public constructor(props: object) source
Params:
Name | Type | Attribute | Description |
props | object | ||
props.text | string | Subheader text. |
|
props.primaryColor | string |
|
Primary color of Subheader. Accept a color string such as RGBA,RGB,HEX. |
props.inset | boolean |
|
If |
props.theme | enum(THEME_NAME) |
|
The theme of Subheader. |