@pcgnpm/display-card
v1.1.0
Published
Display card with the icon along with the content
Downloads
1
Readme
#display-card
Usage
<DisplyCard component={() => { return ( <> <View style={{justifyContent: 'center', alignSelf: 'center'}}> Something asfdsafasfdsfdsa Something asfdsafasfdsfdsa 3 4 <BarChart data={[ { y: 445744, x: 1, xLabel: 'Previous Week', xSubLabel: 'MAY 1 - MAY 7', }, { y: 460121, x: 2, xLabel: 'Current Week', xSubLabel: 'MAY 8 - MAY 14', }, ]} width={300} height={200} trendColor="#CD6263" labelFormatType="number" labelFormatOptions={{ thousand: ',', precision: 0, }} /> </> ); }} iconComponent={() => { return ( <FontAwesomeIcon name="user" size={21} color="#CD6263" style={{alignSelf: 'center'}}> ); }} color="#CD6263" />