v5.8.7
npm i @uiw/react-split@5.8.7
- 🐞 fix: Fix unique 'key' props issue. aab07db @jaywcjlove
- 💄 chore: add bundle example. 82305fa @jaywcjlove
- 💄 chore: update workflows config. 0c80d66 @jaywcjlove
Bundle Example: https://uiwjs.github.io/react-split/bundle.html
<!DOCTYPE html>
<html lang="en">
<head>
<script src="https://unpkg.com/@babel/standalone@7.17.x/babel.min.js" crossorigin></script>
<script src="https://unpkg.com/react@17.x/umd/react.development.js" crossorigin></script>
<script src="https://unpkg.com/react-dom@17.x/umd/react-dom.development.js" crossorigin></script>
<script src="https://unpkg.com/@uiw/codepen-require-polyfill/index.js" crossorigin></script>
<link rel="stylesheet" href="https://unpkg.com/@uiw/react-split/dist/split.css">
</head>
<body>
<div id="container" style="padding: 24px"></div>
<script src="https://unpkg.com/@uiw/react-split/dist/split.min.js"></script>
<script type="text/babel">
import Split from '@uiw/react-split';
const Demo = () => {
return (
<React.Fragment>
<Split style={{ height: 100, border: '1px solid #d5d5d5', borderRadius: 3, marginTop: 18 }}>
<div>
Left Pane
</div>
<div>
Center Pane
</div>
<div>
Center Pane
</div>
<div style={{ flex: 1 }}>
Right Pane
</div>
</Split>
</React.Fragment>
);
}
ReactDOM.render(<Demo />, document.getElementById('container'));
</script>
</body>
</html>