react-awesome-button
Advanced tools
Comparing version 4.2.0 to 4.2.1
@@ -10,3 +10,3 @@ { | ||
"article": "//caferati.me/labs/awesome-button", | ||
"domain": "/demo/react-awesome-button", | ||
"domain": "", | ||
"themes": [ | ||
@@ -13,0 +13,0 @@ { |
@@ -15,3 +15,8 @@ import React from 'react'; | ||
const DemoComponent = ({ match, handlePopover, popoverOpened, popoverText }) => { | ||
const DemoComponent = ({ | ||
match, | ||
handlePopover, | ||
popoverOpened, | ||
popoverText, | ||
}) => { | ||
const theme = match.params.theme || DEFAULT_THEME; | ||
@@ -29,2 +34,9 @@ return ( | ||
DemoComponent.propTypes = { | ||
match: PropTypes.object.isRequired, | ||
handlePopover: PropTypes.func.isRequired, | ||
popoverOpened: PropTypes.bool.isRequired, | ||
popoverText: PropTypes.string.isRequired, | ||
}; | ||
const ComposerComponent = ({ match, handlePopover }) => { | ||
@@ -44,2 +56,7 @@ const theme = match.params.theme || DEFAULT_THEME; | ||
ComposerComponent.propTypes = { | ||
match: PropTypes.object.isRequired, | ||
handlePopover: PropTypes.func.isRequired, | ||
}; | ||
const HeaderComponent = ({ match }) => { | ||
@@ -63,2 +80,6 @@ const theme = match.params.theme || DEFAULT_THEME; | ||
HeaderComponent.propTypes = { | ||
match: PropTypes.object.isRequired, | ||
}; | ||
class Demo extends React.Component { | ||
@@ -101,3 +122,3 @@ static propTypes = { | ||
className={styles.ribbon} | ||
delay={300} | ||
delay={1250} | ||
> | ||
@@ -104,0 +125,0 @@ <span>Support it on Github</span><span role="img" aria-label="hi?">🙌🏻</span> |
@@ -150,3 +150,3 @@ import React from 'react'; | ||
title: 'Installation', | ||
command: 'npm install --save react-native-awesome-button', | ||
command: 'npm install --save react-awesome-button', | ||
}, | ||
@@ -159,3 +159,3 @@ { | ||
AwesomeButtonProgress, | ||
AwesomeButtonShare, | ||
AwesomeButtonSocial, | ||
} from 'react-awesome-button'; | ||
@@ -162,0 +162,0 @@ `, |
{ | ||
"name": "react-awesome-button", | ||
"version": "4.2.0", | ||
"version": "4.2.1", | ||
"description": "Performant, extendable, highly customisable, production ready React Component that renders an animated basic set of UI buttons", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
@@ -7,3 +7,3 @@ # <AwesomeButton /> | ||
[<img width="400" alt="react-awesome-button demo" src="https://github.com/rcaferati/react-awesome-button/blob/master/demo/images/theme-set.gif?raw=true">](https://caferati.me/demo/react-awesome-button) | ||
[<img width="400" alt="react-awesome-button demo" src="https://github.com/rcaferati/react-awesome-button/blob/master/demo/public/images/theme-set.gif?raw=true">](https://caferati.me/demo/react-awesome-button) | ||
@@ -14,3 +14,3 @@ ## Live demo | ||
[<img src="https://github.com/rcaferati/react-awesome-button/blob/master/demo/images/react-awesome-button-customizer.png?raw=true" width="800" />](https://caferati.me/demo/react-awesome-button) | ||
[<img src="https://github.com/rcaferati/react-awesome-button/blob/master/demo/public/images/react-awesome-button-customizer.png?raw=true" width="800" />](https://caferati.me/demo/react-awesome-button) | ||
@@ -17,0 +17,0 @@ ## Examples |
@@ -7,3 +7,3 @@ const ExtractTextPlugin = require('extract-text-webpack-plugin'); | ||
entry: { | ||
'react-awesome-button': ['./demo/index.js'], | ||
'react-awesome-button': ['./demo/demo.js'], | ||
}, | ||
@@ -10,0 +10,0 @@ output: { |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
10577
3783621