@tapjs/reporter
Version:
Pretty test output reporters for tap
5 lines • 331 B
JavaScript
import { Text, Transform } from 'ink';
import React from 'react';
export const HangingIndent = ({ indent = 4, children, ...props }) => (React.createElement(Transform, { transform: (o, i) => (i === 0 ? o : ' '.repeat(indent) + o) },
React.createElement(Text, { ...props }, children)));
//# sourceMappingURL=hanging-indent.js.map