UNPKG

tap

Version:

A Test-Anything-Protocol library for JavaScript

7 lines (6 loc) 311 B
// component that resets the color const React = require('react') const {Text} = require('ink') const importJSX = require('import-jsx') const Color = importJSX('./color.js') module.exports = ({children}) => <><Color reset><Text>{'\u200b'}</Text></Color>{children}<Color reset><Text>{'\u200b'}</Text></Color></>