@ramonak/paper
TypeScript icon, indicating that this package has built-in type declarations

2.1.0 • Public • Published

@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

Package Sidebar

Install

npm i @ramonak/paper

Weekly Downloads

1

Version

2.1.0

License

MIT

Unpacked Size

13.5 kB

Total Files

6

Last publish

Collaborators

  • ramonak