Created
March 8, 2018 10:50
-
-
Save ajaymathur/4e4b5bb4f48428b201b070028cf6ad7e to your computer and use it in GitHub Desktop.
react-markings Snippet
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 * as React from 'react'; | |
| import Snippet from './Snippet'; | |
| import md from 'react-markings'; | |
| const someString = 'testing'; | |
| export default function ReadMe() { | |
| return md` | |
| # hi this is heaing | |
| ${<Snippet baseUrl="jira.com" />} | |
| `; | |
| } |
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'; | |
| export default ({baseUrl}) => ( | |
| <div> | |
| <h2>React-markings Snippet</h2> | |
| <p>The provided `baseUrl` is {baseUrl}. Does that work?</p> | |
| </div> | |
| ) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment