diff --git a/package.json b/package.json index f70942f..0fe6ca1 100644 --- a/package.json +++ b/package.json @@ -23,6 +23,7 @@ "react-dom": "^16.2.0" }, "dependencies": { + "react-svg-inline": "^2.1.0", "styled-components": "^3.2.1" }, "devDependencies": { diff --git a/src/defaults/button.js b/src/defaults/button.js index 566a635..0012928 100644 --- a/src/defaults/button.js +++ b/src/defaults/button.js @@ -4,9 +4,12 @@ const Button = styled.button` background: ${props => props.backgroundColor}; color: ${props => props.color}; border-radius: 3px; - padding: 10px; + padding: 10px 15px; border: none; margin: 5px; + font-size: 18px; + outline: none; + cursor: pointer; ` Button.defaultProps = { diff --git a/src/defaults/buttonRec.js b/src/defaults/buttonRec.js new file mode 100644 index 0000000..35927e9 --- /dev/null +++ b/src/defaults/buttonRec.js @@ -0,0 +1,21 @@ +import styled from 'styled-components' + +const Button = styled.button` + background: ${props => props.backgroundColor}; + color: ${props => props.color}; + border-radius: 100px; + margin: 5px; + width: 54px; + height: 54px; + background: #e55226; + border: 6px solid white; + outline: none; + cursor: pointer; +` + +Button.defaultProps = { + color: 'black', + backgroundColor: 'white' +} + +export default Button diff --git a/src/defaults/buttonStop.js b/src/defaults/buttonStop.js new file mode 100644 index 0000000..ffddfa2 --- /dev/null +++ b/src/defaults/buttonStop.js @@ -0,0 +1,21 @@ +import styled from 'styled-components' + +const Button = styled.button` + background: ${props => props.backgroundColor}; + color: ${props => props.color}; + border-radius: 6px; + margin: 5px; + width: 54px; + height: 54px; + background: #e55226; + border: 6px solid white; + outline: none; + cursor: pointer; +` + +Button.defaultProps = { + color: 'black', + backgroundColor: 'white' +} + +export default Button diff --git a/src/defaults/disconnected-view.js b/src/defaults/disconnected-view.js index 8094396..03fcb28 100644 --- a/src/defaults/disconnected-view.js +++ b/src/defaults/disconnected-view.js @@ -1,3 +1,37 @@ import React from 'react' +import SVGInline from 'react-svg-inline' -export default () =>