Skip to content

Commit af22a09

Browse files
committed
update View example screen
1 parent f7c3116 commit af22a09

File tree

1 file changed

+9
-8
lines changed

1 file changed

+9
-8
lines changed

demo/src/screens/componentScreens/ViewScreen.js

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -17,12 +17,13 @@ const ALIGNMENTS = {
1717
};
1818

1919
const POSITIONS = {
20-
absolute: 'abs',
21-
'absolute Fill': 'absF',
22-
'absolute Left': 'absL',
23-
'absolute Right': 'absR',
24-
'absolute Vertical': 'absV',
25-
'absolute Horizontal': 'absH',
20+
abs: 'abs',
21+
absF: 'absF',
22+
absL: 'absL',
23+
absR: 'absR',
24+
absB: 'absB',
25+
abV: 'absV',
26+
absH: 'absH',
2627
none: null
2728
};
2829

@@ -71,8 +72,8 @@ class ViewScreen extends Component {
7172
{renderSliderOption.call(this, 'BorderRadius(brXX)', 'borderRadius', {step: 10, min: 0, max: 60})}
7273
{renderSliderOption.call(this, 'Padding(padding-XX)', 'padding', {step: 4, min: 0, max: 40})}
7374
{renderSliderOption.call(this, 'Margin(margin-XX)', 'margin', {step: 4, min: 0, max: 40})}
74-
{renderRadioGroup.call(this, 'Alignment (parent)', 'alignment', ALIGNMENTS)}
75-
{renderRadioGroup.call(this, 'Position (child)', 'position', POSITIONS)}
75+
{renderRadioGroup.call(this, 'Alignment (parent)', 'alignment', ALIGNMENTS, {isRow: true})}
76+
{renderRadioGroup.call(this, 'Position (child)', 'position', POSITIONS, {isRow: true})}
7677
</View>
7778
</ScrollView>
7879
</View>

0 commit comments

Comments
 (0)