Disabled TimePicker

By default, the TimePicker is enabled.

To disable the component, set its disabled property to true.

class App extends React.Component {
    render() {
        return(
            <div className="example-wrapper">
                <p>Today's date:</p>
                <TimePicker disabled={true} value={new Date()} show={true} />
            </div>
        )
    }
}
ReactDOM.render(
    <App />,
    document.querySelector('my-app')
);

In this article