Skip to content

KaterinaLupacheva/paper-component

Repository files navigation

@ramonak/paper

React Paper Component

NPM JavaScript Style Guidenpm bundle sizeGitHubnpm


demo


Playground / Code Generator


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