bs-react-syntax-highlighter
Advanced tools
Changelog
0.2.0 (2020-01-04)
lineProps
accepts polymorphic variant instead of ReactDOMRe.props
typeChange the existing code as follows:
-let props = ReactDOMRe.props(~className="foobar", ());
+let props = `Plain( ReactDOMRe.props(~className="foobar", ()) );
<ReactSyntaxHighlighter.Prism lineProps={props}>
{"foobar"}
</ReactSyntaxHighlighter.Prism>
lineProps
as a function (6b38614)Changelog
0.1.0 (2020-01-01)
Initial release.
All notable changes to this project will be documented in this file. See standard-version for commit guidelines.