Disabled DropDownButton

By default, the DropDownButton is enabled.

To disable it, set the disabled property to true.

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