-
Notifications
You must be signed in to change notification settings - Fork 164
/
Copy pathButtonShapeTestSection.tsx
49 lines (46 loc) · 1.96 KB
/
ButtonShapeTestSection.tsx
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
import * as React from 'react';
import { View } from 'react-native';
import { ButtonV1 as Button, CompoundButton } from '@fluentui/react-native';
import { commonTestStyles, testContentRootViewStyle } from '../Common/styles';
export const ButtonShapeTest: React.FunctionComponent = () => {
return (
<View style={testContentRootViewStyle}>
<Button shape="rounded" style={commonTestStyles.vmargin}>
Default Rounded Button
</Button>
<Button shape="square" style={commonTestStyles.vmargin}>
Square Button
</Button>
<Button shape="circular" style={commonTestStyles.vmargin}>
Circular Button
</Button>
<Button appearance="primary" shape="rounded" style={commonTestStyles.vmargin}>
Primary Rounded Button
</Button>
<Button appearance="primary" shape="square" style={commonTestStyles.vmargin}>
Square Button
</Button>
<Button appearance="primary" shape="circular" style={commonTestStyles.vmargin}>
Circular Button
</Button>
<CompoundButton secondaryContent="rounded" shape="rounded" style={commonTestStyles.vmargin}>
Compound Button
</CompoundButton>
<CompoundButton secondaryContent="square" shape="square" style={commonTestStyles.vmargin}>
Compound Button
</CompoundButton>
<CompoundButton secondaryContent="circular" shape="circular" style={commonTestStyles.vmargin}>
Compound Button
</CompoundButton>
<CompoundButton appearance="primary" secondaryContent="rounded" shape="rounded" style={commonTestStyles.vmargin}>
Compound Button
</CompoundButton>
<CompoundButton appearance="primary" secondaryContent="square" shape="square" style={commonTestStyles.vmargin}>
Compound Button
</CompoundButton>
<CompoundButton appearance="primary" secondaryContent="circular" shape="circular" style={commonTestStyles.vmargin}>
Compound Button
</CompoundButton>
</View>
);
};