File tree Expand file tree Collapse file tree 4 files changed +10
-11
lines changed
Expand file tree Collapse file tree 4 files changed +10
-11
lines changed Original file line number Diff line number Diff line change @@ -16,7 +16,6 @@ function Demo() {
1616 < Radio> Radio< / Radio>
1717 < Radio checked> Radio checked< / Radio>
1818 < / >
19-
2019 );
2120}
2221
@@ -66,7 +65,7 @@ export default Demo
6665
6766### 单选
6867
69- ``` jsx mdx:preview
68+ ``` jsx mdx:preview&background=#bebebe29
7069import React , { useState } from ' react' ;
7170import { View } from ' react-native' ;
7271import { Radio } from ' @uiw/react-native' ;
Original file line number Diff line number Diff line change @@ -46,7 +46,7 @@ export default Demo
4646
4747### 默认选中及总数
4848
49- ``` jsx mdx:preview
49+ ``` jsx mdx:preview&background=#bebebe29
5050import React from ' react' ;
5151import { Rating , Icon } from ' @uiw/react-native' ;
5252function Demo () {
@@ -68,7 +68,7 @@ export default Demo
6868
6969### 评分组件加上文案展示及样式修改
7070
71- ``` jsx mdx:preview
71+ ``` jsx mdx:preview&background=#bebebe29
7272import React from ' react' ;
7373import { Rating , Icon } from ' @uiw/react-native' ;
7474
@@ -83,7 +83,7 @@ export default Demo
8383
8484### 只读
8585
86- ``` jsx mdx:preview
86+ ``` jsx mdx:preview&background=#bebebe29
8787import React from ' react' ;
8888import { Rating , Icon } from ' @uiw/react-native' ;
8989function Demo () {
Original file line number Diff line number Diff line change @@ -85,9 +85,9 @@ function Demo() {
8585 < Slider
8686 value= {value}
8787 onChange= {(cValue ) => setValue (cValue)}
88- thumbTintColor= " pink "
89- maximumTrackTintColor= " pink "
90- minimumTrackTintColor= " purple "
88+ thumbTintColor= " #008ef0 "
89+ maximumTrackTintColor= " #333 "
90+ minimumTrackTintColor= " white "
9191 / >
9292 );
9393}
Original file line number Diff line number Diff line change @@ -44,9 +44,9 @@ import React from 'react';
4444function Demo () {
4545 return (
4646 < Switch
47- color= " red "
48- thumbStyle= {{backgroundColor: ' skyblue ' }}
49- trackStyle= {{backgroundColor: ' pink ' }}
47+ color= " #008ef055 "
48+ thumbStyle= {{backgroundColor: ' #333a ' }}
49+ trackStyle= {{backgroundColor: ' #008ef0 ' }}
5050 / >
5151 );
5252}
You can’t perform that action at this time.
0 commit comments