Last active
July 29, 2022 09:46
-
-
Save hammamikhairi/189e5c6bbc7217b8bdf952ff243c2411 to your computer and use it in GitHub Desktop.
This file contains hidden or 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 Gist from "styled-react-gist"; | |
export const YourComponent = () => { | |
const css = ` | |
.js-file-line-container { | |
background : whitesmoke !important; | |
} | |
.gist-meta{ | |
display : none !important | |
} | |
.gist-data { | |
padding : 1rem !important; | |
background: transparent !important; | |
} | |
`; | |
return ( | |
<Gist | |
gistId = '189e5c6bbc7217b8bdf952ff243c2411' | |
file = 'styled-react-gist.jsx' | |
// gistUrl = 'https://gist.github.com/hammamikhairi/189e5c6bbc7217b8bdf952ff243c2411' | |
style = {css} | |
styleSheetUrl = "https://pleasedont.hammamikhairi.repl.co/css/npm.css" | |
/> | |
); | |
}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment