Skip to content

Commit

Permalink
docs: standardize position of buttons (remirror#1256)
Browse files Browse the repository at this point in the history
  • Loading branch information
ronnyroeller authored Sep 22, 2021
1 parent d155767 commit 431f852
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,9 @@ const ReplaceContentAndClearHistory = (): JSX.Element => {

return (
<ThemeProvider>
<Remirror manager={manager} state={state} onChange={onChange} />
<button onClick={handleClick}>Replace content</button>
<Remirror manager={manager} state={state} onChange={onChange} autoRender='end'>
<button onClick={handleClick}>Replace content</button>
</Remirror>
</ThemeProvider>
);
};
Expand Down

0 comments on commit 431f852

Please sign in to comment.