From 99df18139bbd04e985845f12d849062186f7fb17 Mon Sep 17 00:00:00 2001 From: afc163 Date: Sun, 4 Dec 2016 19:26:11 +0800 Subject: [PATCH] Improve Menu selected design --- components/menu/demo/theme.md | 13 ++++++++++--- components/menu/style/index.less | 8 ++++++-- tests/menu/__snapshots__/demo.test.js.snap | 13 +++++++------ 3 files changed, 23 insertions(+), 11 deletions(-) diff --git a/components/menu/demo/theme.md b/components/menu/demo/theme.md index 15658b47d8..54dfb1877d 100755 --- a/components/menu/demo/theme.md +++ b/components/menu/demo/theme.md @@ -20,7 +20,8 @@ const SubMenu = Menu.SubMenu; const Sider = React.createClass({ getInitialState() { return { - theme: 'light', + theme: 'dark', + current: '1', }; }, changeTheme(value) { @@ -37,10 +38,16 @@ const Sider = React.createClass({ render() { return (
- +

- - Light + Dark