Skip to content

Instantly share code, notes, and snippets.

@larafale
Created September 24, 2019 20:10
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save larafale/aa09431056ea7597f411dd14ec39fdf2 to your computer and use it in GitHub Desktop.
Save larafale/aa09431056ea7597f411dd14ec39fdf2 to your computer and use it in GitHub Desktop.
const CodeBlock = ({ children }) => (<small>
<pre>{children}</pre>
</small>)
<CodeBlock>{`
import Flow from '@cypherlab/react-flow'
import FlowBundle from '@cypherlab/react-flow-bundles'
<Flow flows='one,two,three'>
{ flow => (<FlowBundle bundle="microdot" flow={flow} />) }
</Flow>
`}</CodeBlock>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment