We are going to show by example how to make use of all the available rai components in a react component.
Here is how you can use CircularIndicators in a react component.
CircularIndicator accept the following as its custom props. Note that some of its props inherit them from a div element for the outer container.
Prop | Type | Default |
---|---|---|
className | String | |
size | smallmediumlarge | small |
color | String | "#2a6776" |
Here is how you can use DoubleCircularIndicators in a react component.
DoubleCircularIndicator accept the following as its custom props. Note that some of its props inherit them from a div element for the outer container.
Prop | Type | Default |
---|---|---|
className | String | |
size | smallmediumlarge | small |
color | String | "#2a6776" |
Here is how you can use CircularDotIndicators in a react component.
CircularDotIndicator accept the following as its custom props. Note that some of its props inherit them from a div element for the outer container.
Prop | Type | Default |
---|---|---|
className | String | |
size | smallmediumlarge | small |
color | String | "#2a6776" |
Here is how you can use QuarterCircularIndicators in a react component.
QuarterCircularIndicator accept the following as its custom props. Note that some of its props inherit them from a div element for the outer container.
Prop | Type | Default |
---|---|---|
className | String | |
size | smallmediumlarge | small |
color | String | "#2a6776" |
Here is how you can use RippleIndicators in a react component.
RippleIndicator accept the following as its custom props. Note that some of its props inherit them from a div element for the outer container.
Prop | Type | Default |
---|---|---|
className | String | |
size | smallmediumlarge | small |
color | String | "#2a6776" |
Here is how you can use BoxIndicators in a react component.
BoxIndicator accept the following as its custom props. Note that some of its props inherit them from a div element for the outer container.
Prop | Type | Default |
---|---|---|
className | String | |
size | smallmediumlarge | small |
color | String | "#2a6776" |
showProgress | Boolean | true |
progress | Number | 0 |
Here is how you can use LinearIndicators in a react component.
LinearIndicator accept the following as its custom props. Note that some of its props inherit them from a div element for the outer container.
Prop | Type | Default |
---|---|---|
className | String | |
indeterminate | Boolean | true |
color | String | "#2a6776" |
showProgress | Boolean | true |
progress | Number | 0 |