-
Notifications
You must be signed in to change notification settings - Fork 267
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
397aa3d
commit 4deeb8d
Showing
18 changed files
with
231 additions
and
458 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
import React from 'react' | ||
import { Divider } from '@nutui/nutui-react' | ||
|
||
const Demo1 = () => { | ||
return ( | ||
<> | ||
<Divider /> | ||
</> | ||
) | ||
} | ||
export default Demo1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
import React from 'react' | ||
import { Divider } from '@nutui/nutui-react' | ||
|
||
const Demo2 = () => { | ||
return ( | ||
<> | ||
<Divider>文本</Divider> | ||
</> | ||
) | ||
} | ||
export default Demo2 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
import React from 'react' | ||
import { Divider, Cell } from '@nutui/nutui-react' | ||
|
||
const Demo3 = () => { | ||
return ( | ||
<> | ||
<Cell> | ||
<Divider contentPosition="left">文本</Divider> | ||
</Cell> | ||
<Cell> | ||
<Divider contentPosition="right">文本</Divider> | ||
</Cell> | ||
</> | ||
) | ||
} | ||
export default Demo3 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
import React from 'react' | ||
import { Divider } from '@nutui/nutui-react' | ||
|
||
const Demo4 = () => { | ||
return ( | ||
<> | ||
<Divider style={{ borderStyle: 'dashed' }}>文本</Divider> | ||
</> | ||
) | ||
} | ||
export default Demo4 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
import React from 'react' | ||
import { Divider } from '@nutui/nutui-react' | ||
|
||
const Demo5 = () => { | ||
return ( | ||
<> | ||
<Divider | ||
style={{ | ||
color: '#1989fa', | ||
borderColor: '#1989fa', | ||
padding: '0 16px', | ||
borderStyle: 'dashed', | ||
}} | ||
> | ||
文本 | ||
</Divider> | ||
</> | ||
) | ||
} | ||
export default Demo5 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
import React from 'react' | ||
import { Divider } from '@nutui/nutui-react' | ||
|
||
const Demo6 = () => { | ||
return ( | ||
<> | ||
<div> | ||
文本 | ||
<Divider direction="vertical" /> | ||
<a href="#" style={{ color: '#1989fa' }}> | ||
链接 | ||
</a> | ||
<Divider direction="vertical" /> | ||
<a href="#" style={{ color: '#1989fa' }}> | ||
链接 | ||
</a> | ||
</div> | ||
</> | ||
) | ||
} | ||
export default Demo6 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
import React from 'react' | ||
import { Divider } from '@nutui/nutui-react-taro' | ||
|
||
const Demo1 = () => { | ||
return ( | ||
<> | ||
<Divider /> | ||
</> | ||
) | ||
} | ||
export default Demo1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
import React from 'react' | ||
import { Divider } from '@nutui/nutui-react-taro' | ||
|
||
const Demo2 = () => { | ||
return ( | ||
<> | ||
<Divider>文本</Divider> | ||
</> | ||
) | ||
} | ||
export default Demo2 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
import React from 'react' | ||
import { Divider, Cell } from '@nutui/nutui-react-taro' | ||
|
||
const Demo3 = () => { | ||
return ( | ||
<> | ||
<Cell> | ||
<Divider contentPosition="left">文本</Divider> | ||
</Cell> | ||
<Cell> | ||
<Divider contentPosition="right">文本</Divider> | ||
</Cell> | ||
</> | ||
) | ||
} | ||
export default Demo3 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
import React from 'react' | ||
import { Divider } from '@nutui/nutui-react-taro' | ||
|
||
const Demo4 = () => { | ||
return ( | ||
<> | ||
<Divider style={{ borderStyle: 'dashed' }}>文本</Divider> | ||
</> | ||
) | ||
} | ||
export default Demo4 |
Oops, something went wrong.