Skip to content

Commit ec76981

Browse files
author
Dan Rosén
authored
Fix typo in the readme (#395)
1 parent c83a5d0 commit ec76981

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

readme.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -349,11 +349,11 @@ It's like `<div style="display: flex">` in the browser.
349349
```jsx
350350
import {render, Box, Text} from 'ink';
351351

352-
const Example = () => {
352+
const Example = () => (
353353
<Box margin={2}>
354354
<Text>This is a box with margin</Text>
355355
</Box>;
356-
};
356+
);
357357

358358
render(<Example />);
359359
```

0 commit comments

Comments
 (0)