From e1efa990ca2100a3419c478a2f706dd6e9c8b22b Mon Sep 17 00:00:00 2001 From: Charles Covey-Brandt Date: Sun, 15 Apr 2018 18:41:53 -0700 Subject: [PATCH] Update Alert smooth-closed demo for spelling "visible" (#10060) --- components/alert/demo/smooth-closed.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/components/alert/demo/smooth-closed.md b/components/alert/demo/smooth-closed.md index af5720b9c9..e28446f0e9 100644 --- a/components/alert/demo/smooth-closed.md +++ b/components/alert/demo/smooth-closed.md @@ -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 (
{ - this.state.visiable ? ( + this.state.visible ? (