2.1.0 • Published 6 years ago
npm-react-button v2.1.0
Do not install
This package is created for testing purpose and will be removed soon.
There are primary
button, default
button, dashed
button and danger
button.
Button styles are copied from antd.
import React from 'react';
import Button from 'npm-react-button';
class App extends React.Component {
render() {
return (
<div>
<Button>Default</Button>
<Button primary>primary</Button>
<Button dashed>dashed</Button>
<Button danger>danger</Button>
</div>
);
}
}