- 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 toNeuCardcomponent. Instead just wrap child components inNeuCardopening 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>)}}