Last active
January 19, 2020 16:36
-
-
Save mjrode/815e14f7a613c83a700d45b63fece2cb to your computer and use it in GitHub Desktop.
Styled MaterialUI divider
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import React from 'react'; | |
import Divider from '@material-ui/core/Divider'; | |
import styled from 'styled-components'; | |
const StyledDivider = styled(Divider)` | |
color: white | |
` | |
export default function App( ) { | |
return ( | |
<div> | |
<h1>Hello World</h1> | |
<StyledDivider/> | |
</div> | |
); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment