@@ -13,11 +13,11 @@ import { Divider } from '@uiw/react-native';
1313function Demo () {
1414 return (
1515 < Fragment>
16- < Text style = {{ color : ' #555 ' }} > 分割线< / Text >
17- < Divider label= " OR" labelStyle = {{ color : ' #555 ' }} / >
18- < Text style = {{ color : ' #555 ' }} > 横向分割线< / Text >
19- < Divider labelStyle = {{ color : ' #555 ' }} / >
20- < Text style = {{ color : ' #555 ' }} > 分割线< / Text >
16+ < Text > 分割线< / Text >
17+ < Divider label= " OR" / >
18+ < Text > 横向分割线< / Text >
19+ < Divider / >
20+ < Text > 分割线< / Text >
2121 < / Fragment>
2222 );
2323}
@@ -37,10 +37,10 @@ import { Divider } from '@uiw/react-native';
3737function Demo () {
3838 return (
3939 < Fragment>
40- < Text style = {{ color : ' #555 ' }} > 分割线< / Text >
41- < Divider label= " OR" gutter= {50 } labelStyle = {{ color : ' #555 ' }} / >
42- < Text style = {{ color : ' #555 ' }} > 分割线< / Text >
43- < Divider label= " OR" gutter= {100 } labelStyle = {{ color : ' #555 ' }} / >
40+ < Text > 分割线< / Text >
41+ < Divider label= " OR" gutter= {50 } / >
42+ < Text > 分割线< / Text >
43+ < Divider label= " OR" gutter= {100 } / >
4444 < / Fragment>
4545 );
4646}
@@ -58,12 +58,12 @@ import { Divider } from '@uiw/react-native';
5858function Demo () {
5959 return (
6060 < Fragment>
61- < Text style = {{ color : ' #555 ' }} > 分割线< / Text >
62- < Divider label= " left" orientation= " left" labelStyle= {{ fontWeight: ' bold' , color : ' #555 ' }} / >
63- < Text style = {{ color : ' #555 ' }} > 分割线< / Text >
64- < Divider label= " center" labelStyle= {{ fontWeight: ' bold' , color : ' #555 ' }} / >
65- < Text style = {{ color : ' #555 ' }} > 分割线< / Text >
66- < Divider label= " right" orientation= " right" labelStyle= {{ fontWeight: ' bold' , color : ' #555 ' }} / >
61+ < Text > 分割线< / Text >
62+ < Divider label= " left" orientation= " left" labelStyle= {{ fontWeight: ' bold' }} / >
63+ < Text > 分割线< / Text >
64+ < Divider label= " center" labelStyle= {{ fontWeight: ' bold' ,}} / >
65+ < Text > 分割线< / Text >
66+ < Divider label= " right" orientation= " right" labelStyle= {{ fontWeight: ' bold' }} / >
6767 < / Fragment>
6868 );
6969}
@@ -81,7 +81,7 @@ import { Divider } from '@uiw/react-native';
8181function Demo () {
8282 return (
8383 < View style= {{ height: 200 }}>
84- < Divider type= " vertical" label= " OR" labelStyle = {{ color : ' #555 ' }} / >
84+ < Divider type= " vertical" label= " OR" / >
8585 < / View>
8686 );
8787}
0 commit comments