mirror of
https://github.com/oceanprotocol/commons.git
synced 2023-03-15 18:03:00 +01:00
cleanup
This commit is contained in:
parent
48011a5225
commit
9d2f4817ba
@ -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",
|
||||||
|
@ -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
|
@ -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>
|
||||||
|
Loading…
Reference in New Issue
Block a user