Update Alert smooth-closed demo for spelling "visible" (#10060)

pull/10062/head
Charles Covey-Brandt 7 years ago committed by 诸岳
parent 8fdce7cb4f
commit e1efa990ca

@ -18,16 +18,16 @@ import { Alert } from 'antd';
class App extends React.Component {
state = {
visiable: true,
visible: true,
}
handleClose = () => {
this.setState({ visiable: false });
this.setState({ visible: false });
}
render() {
return (
<div>
{
this.state.visiable ? (
this.state.visible ? (
<Alert
message="Alert Message Text"
type="success"

Loading…
Cancel
Save