- NeuCard
NeuCard is a component which is equivalent to Card component in other libraries.
Props
This component accepts 3 props:
children
- This represents children of Card. You do not need to pass this prop explicilty toNeuCard
component. Instead just wrap child components inNeuCard
opening and closing tags.width
- width of the card (px or percentages)height
- height of the card (px or percentages)
import { NeuCard } from 'neumorphic-ui';class Example extends Component {render () {return (<NeuCard width="350px" height="320px">...Child components</NeuCard>)}}