<CCard style={{ width: '18rem' }}>
<CCardImage orientation="top" src="/images/react.jpg" />
<CCardBody>
<CCardTitle>Card title</CCardTitle>
<CCardText>
Some quick example text to build on the card title and make up the bulk of the card's content.
</CCardText>
<CButton href="#">Go somewhere</CButton>
</CCardBody>
</CCard>
React Card
The code contains a CCard style definition that sets the card's width to 18rem. The CCardImage orientation is set to top, and the CCardBody contains a CCardTitle, CCardText, and CButton.
0 Comments
Add Comment
Log in to add a comment