Divider doesn't match screenshot in readme
ezzak opened this issue ยท comments
Rendering this:
import React from 'react';
import { render } from 'ink';
import Divider from '..';
const Basic = () => (
<React.Fragment>
<Divider title="Test" width={20} />
</React.Fragment>
);
render(<Basic />);
Gives me this:
Can you link me a project or something where this happens? That would be really helpful โ๐ผ
Hmmm, the problem seems to be when switching from ink@2.0.0
to ink@2.1.0
. Not sure why, but in that version, Color
element switched from being an inline element to being a block element. Not sure if this is the intended behavior or a bug.
Will push a quick update that will fix this issue.
Bug fixed with ink-divider@2.0.1
๐๐ผ