1
0
mirror of https://github.com/oceanprotocol/commons.git synced 2023-03-15 18:03:00 +01:00
This commit is contained in:
Matthias Kretschmann 2019-01-24 15:51:13 +01:00
parent 48011a5225
commit 9d2f4817ba
Signed by: m
GPG Key ID: 606EEEF3C479A91F
4 changed files with 3 additions and 3 deletions

View File

@ -16,7 +16,6 @@
}, },
"dependencies": { "dependencies": {
"@oceanprotocol/squid": "^0.2.7", "@oceanprotocol/squid": "^0.2.7",
"@types/classnames": "^2.2.7",
"classnames": "^2.2.6", "classnames": "^2.2.6",
"react": "^16.7.0", "react": "^16.7.0",
"react-dom": "^16.7.0", "react-dom": "^16.7.0",
@ -24,6 +23,7 @@
"web3": "^1.0.0-beta.37" "web3": "^1.0.0-beta.37"
}, },
"devDependencies": { "devDependencies": {
"@types/classnames": "^2.2.7",
"@types/jest": "23.3.12", "@types/jest": "23.3.12",
"@types/node": "10.12.18", "@types/node": "10.12.18",
"@types/react": "16.7.20", "@types/react": "16.7.20",

View File

@ -7,7 +7,7 @@ it('Button renders without crashing', () => {
ReactDOM.render( ReactDOM.render(
<> <>
<Button>I am a button</Button> <Button>I am a button</Button>
<Button primary="true">I am a primary button</Button> <Button primary={true}>I am a primary button</Button>
<Button href="https://hello.com">I am a button</Button> <Button href="https://hello.com">I am a button</Button>
</>, </>,
div div

View File

@ -12,8 +12,8 @@ const Label = ({
}) => ( }) => (
<label <label
className={required ? styles.required : styles.label} className={required ? styles.required : styles.label}
{...props}
title={required ? 'Required' : ''} title={required ? 'Required' : ''}
{...props}
> >
{children} {children}
</label> </label>