react-ansi
react-ansi copied to clipboard
Use of classes not documented for ReactAnsi
Apparently when using <ReactAnsi log=... ...>
I have no possibility to tell it to use classes instead of embedded styles. How can I make it use name styles instead so I can make use project theme?
https://github.com/RaoHai/react-ansi/blob/master/src/index.tsx#L23-L31
On the other hand I do see ansiToJSON supporting a useClasses
attribute which defaults to false.
Based on the source code I assumed that adding style={null}
would trick it to use classes but apparently it does not work.