Package Exports
- @ramonak/paper
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@ramonak/paper) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
@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