File tree Expand file tree Collapse file tree 2 files changed +16
-1
lines changed
packages/react-renderer-demo/src/app/src/components Expand file tree Collapse file tree 2 files changed +16
-1
lines changed Original file line number Diff line number Diff line change
1
+ import React from 'react' ;
2
+
3
+ const TwitterIcon = props => (
4
+ < svg { ...props } viewBox = "0 0 24 24" aria-hidden = "true" role = "presentation" >
5
+ < path fill = "#1da1f2" d = "M23.643 4.937c-.835.37-1.732.62-2.675.733a4.67 4.67 0 0 0 2.048-2.578 9.3 9.3 0 0 1-2.958 1.13 4.66 4.66 0 0 0-7.938 4.25 13.229 13.229 0 0 1-9.602-4.868c-.4.69-.63 1.49-.63 2.342A4.66 4.66 0 0 0 3.96 9.824a4.647 4.647 0 0 1-2.11-.583v.06a4.66 4.66 0 0 0 3.737 4.568 4.692 4.692 0 0 1-2.104.08 4.661 4.661 0 0 0 4.352 3.234 9.348 9.348 0 0 1-5.786 1.995 9.5 9.5 0 0 1-1.112-.065 13.175 13.175 0 0 0 7.14 2.093c8.57 0 13.255-7.098 13.255-13.254 0-.2-.005-.402-.014-.602a9.47 9.47 0 0 0 2.323-2.41z" > </ path >
6
+ </ svg >
7
+ ) ;
8
+
9
+ export default TwitterIcon ;
Original file line number Diff line number Diff line change @@ -13,6 +13,7 @@ import Typography from '@material-ui/core/Typography';
13
13
14
14
import GhIcon from './common/gh-svg-icon' ;
15
15
import NpmSvgIcon from './common/npm-svg-icon' ;
16
+ import TwitterIcon from './common/twitter-svg-icon' ;
16
17
17
18
const RepoLink = ( { href, label } ) => {
18
19
const classes = makeStyles ( theme => ( {
@@ -97,12 +98,17 @@ const Footer = ({ open }) => {
97
98
< Grid xs = { 12 } md = { 4 } item >
98
99
< Paper elevation = { 0 } className = { classes . foooterCard } >
99
100
< List
100
- subheader = { < ListSubheader className = { classes . listHeader } > Links to < SvgIcon > < GhIcon /> </ SvgIcon > </ ListSubheader > }
101
+ subheader = { < ListSubheader className = { classes . listHeader } > Link to < SvgIcon > < GhIcon /> </ SvgIcon > </ ListSubheader > }
101
102
>
102
103
< RepoLink
103
104
href = "https://github.com/data-driven-forms/react-forms"
104
105
label = "React forms"
105
106
/>
107
+ < ListSubheader className = { classes . listHeader } > Link to < SvgIcon > < TwitterIcon /> </ SvgIcon > </ ListSubheader >
108
+ < RepoLink
109
+ href = "https://twitter.com/DataDrivenForms"
110
+ label = "@DataDrivenForms"
111
+ />
106
112
</ List >
107
113
< List
108
114
subheader = { < ListSubheader className = { classes . listHeader } > Links to < SvgIcon > < NpmSvgIcon /> </ SvgIcon > </ ListSubheader > }
You can’t perform that action at this time.
0 commit comments