import{Button}from'react-theme-components'...render(){return(<Button>This is a button</Button>);};
Inline style
import{Button}from'react-theme-components'...render(){return(<Buttonstyle={{color: 'red'}}>This is a button</Button>);};
Editable attributes inline style
Button
Property
Default
Type
Values
color
#ffffff
String
hex, rgb
fontSize
16px
String, Number
font-size values
backgroundColor
#1890ff
String
hex, rgb
borderColor
#1890ff
String
hex, rgb
InputText
Property
Default
Type
Values
height
32px
String, Number
height values
color
rgba(0,0,0,0.65)
String
hex, rgb
fontSize
14px
String, Number
font-size values
backgroundColor
#ffffff
String
hex, rgb
borderColor
#d9d9d9
String
hex, rgb
Title
Property
Default
Type
Values
color
#0d1a26
String
hex, rgb
fontSize
30px
String, Number
font-size values
You can create a theme
import{Button,Title,Provider}from'react-theme-components'...render(){return(<Providertheme={{Button: {color: 'red'},Title: {color: 'red'}}}><Button>This is a button</Button><Title>This is a Title</Title></Provider>);};