react-splitter
react-splitter copied to clipboard
Splitter Type does not exist
I noticed in the Live Demo that splitterSize requires one to set the splitter type. How can this be done in react.js?
<Split splitterType="solid" splitterSize="50px" initialPrimarySize="70%" defaultSplitterColors={colors}>
</Split>
Error: Property 'splitterType' does not exist on type
Version: 2.1.2
Hi @bloggrammer and @GeoffCox I know this is Late, but this comment for new Members, In demo there done by manually like below
const renderSplitter = (props) => {
return <div className='solid'></div>;
};
solid css
.solid {
width: 100%;
height: 100%;
outline: none;
overflow: hidden;
background: blue
}
split tag
<Split renderSplitter={renderSplitter} splitterSize='10px' resetOnDoubleClick>
....
</Split>