Skip to content

KaterinaLupacheva/paper-component

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
src
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

@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