Disabled SplitButton

By default, the SplitButton is enabled.

To disable it, set the disabled property to true.

const items=['Item1', 'Item2', 'Item3'];
class App extends React.Component {
    render() {
        return (
            <div>
                <SplitButton items={items} text="Enabled Button" /> &nbsp;
                <SplitButton disabled={true} items={items} text="Disabled Button" />
            </div>
        );
    }
}
ReactDOM.render(
    <App />,
    document.querySelector('my-app')
)

In this article

 /