提交 ae266566 编写于 作者: Y Ymm0008

docs: fixednav 文档优化

上级 72d71f8c
...@@ -55,9 +55,9 @@ const App = () => { ...@@ -55,9 +55,9 @@ const App = () => {
activeText="基础用法" activeText="基础用法"
overlay={true} overlay={true}
position={{ top: '70px' }} position={{ top: '70px' }}
change={change} onChange={change}
visible={visible} visible={visible}
selected={selected} onSelected={selected}
> >
</FixedNav> </FixedNav>
</> </>
...@@ -111,8 +111,8 @@ const App = () => { ...@@ -111,8 +111,8 @@ const App = () => {
visible={visible} visible={visible}
activeText={"左侧收起"} activeText={"左侧收起"}
unActiveText={"左侧展开"} unActiveText={"左侧展开"}
change={change} onChange={change}
selected={selected} onSelected={selected}
> >
</FixedNav> </FixedNav>
</> </>
...@@ -166,8 +166,8 @@ const App = () => { ...@@ -166,8 +166,8 @@ const App = () => {
position={{ top: '210px' }} position={{ top: '210px' }}
overlay={false} overlay={false}
visible={visible} visible={visible}
change={change} onChange={change}
selected={selected} onSelected={selected}
> >
</FixedNav> </FixedNav>
</> </>
...@@ -219,8 +219,8 @@ const App = () => { ...@@ -219,8 +219,8 @@ const App = () => {
position={{ top: '280px' }} position={{ top: '280px' }}
type={"left"} type={"left"}
visible={visible} visible={visible}
change={change} onChange={change}
selected={selected} onSelected={selected}
slotList={ slotList={
<ul className="nut-fixednav__list" slot={"list"}> <ul className="nut-fixednav__list" slot={"list"}>
<li className="nut-fixednav__list-item">1</li> <li className="nut-fixednav__list-item">1</li>
...@@ -288,8 +288,8 @@ const App = () => { ...@@ -288,8 +288,8 @@ const App = () => {
navList={navList} navList={navList}
unActiveText="支持拖拽" unActiveText="支持拖拽"
visible={visible} visible={visible}
change={change} onChange={change}
selected={selected}> onSelected={selected}>
</FixedNav> </FixedNav>
</Drag> </Drag>
</> </>
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册