@ramonak/paper
React Paper Component
Install
npm install --save @ramonak/paper
Usage
import Paper from '@ramonak/paper'
const Example = () => {
return <Paper elevation={3}/>
};
Props
Name | Type | Default | Description |
---|---|---|---|
elevation |
Number between 0 and 24
|
Shadow depth. | |
oulined |
boolean |
false | Outlined surface. |
square |
boolean |
false | If true, no rounded corners. |
customClass |
string |
Name of the css custom class to add custom styles. |
License
MIT © KaterinaLupacheva