@bitrise/bitkit 9.5.2 → 9.5.3-alpha-src.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (105) hide show
  1. package/package.json +4 -1
  2. package/src/tsconfig.tsbuildinfo +1 -0
  3. package/.browserslistrc +0 -2
  4. package/.editorconfig +0 -4
  5. package/.eslint-tsconfig.json +0 -7
  6. package/.eslintrc.js +0 -28
  7. package/.husky/commit-msg +0 -4
  8. package/.nvmrc +0 -1
  9. package/.storybook/main.js +0 -35
  10. package/.storybook/manager.js +0 -6
  11. package/.storybook/preview.tsx +0 -20
  12. package/.storybook/theme.js +0 -7
  13. package/.stylelintignore +0 -2
  14. package/.stylelintrc +0 -287
  15. package/.svgrrc.js +0 -52
  16. package/.tool-versions +0 -1
  17. package/@types/@bitrise/bitkit.ts +0 -1
  18. package/@types/react-docgen.ts +0 -119
  19. package/CHANGELOG.md +0 -996
  20. package/CONTRIBUTING.md +0 -79
  21. package/FAQ.md +0 -19
  22. package/bitrise.yml +0 -66
  23. package/commitlint.config.js +0 -10
  24. package/jest.setup.js +0 -36
  25. package/netlify.toml +0 -42
  26. package/postcss.config.js +0 -16
  27. package/release.config.js +0 -32
  28. package/renovate.json +0 -6
  29. package/scripts/build-docs-watch.ts +0 -7
  30. package/scripts/build-docs.ts +0 -59
  31. package/site/assets/fonts/TT_Norms_Pro_Bold.woff +0 -0
  32. package/site/assets/fonts/TT_Norms_Pro_Normal.woff +0 -0
  33. package/site/assets/icons/favicon-32x32.png +0 -0
  34. package/site/assets/images/app_icon.jpg +0 -0
  35. package/site/assets/images/status-checks.png +0 -0
  36. package/site/components/CodeBlock/CodeBlock.css +0 -87
  37. package/site/components/CodeBlock/CodeBlock.tsx +0 -35
  38. package/site/components/Documentation/ComponentDocumentationPage.tsx +0 -150
  39. package/site/components/Documentation/Components/SectionAddonBeam.tsx +0 -47
  40. package/site/components/Documentation/Components/SectionAddonBeamSandbox.tsx +0 -32
  41. package/site/components/Documentation/Components/SectionAddonFooter.tsx +0 -22
  42. package/site/components/Documentation/Components/SectionAppear.tsx +0 -59
  43. package/site/components/Documentation/Components/SectionAvatar.tsx +0 -50
  44. package/site/components/Documentation/Components/SectionBadge.tsx +0 -38
  45. package/site/components/Documentation/Components/SectionBase.tsx +0 -17
  46. package/site/components/Documentation/Components/SectionButtons.tsx +0 -361
  47. package/site/components/Documentation/Components/SectionCards.tsx +0 -276
  48. package/site/components/Documentation/Components/SectionCheckbox.tsx +0 -38
  49. package/site/components/Documentation/Components/SectionDatePicker.tsx +0 -82
  50. package/site/components/Documentation/Components/SectionDivider.tsx +0 -31
  51. package/site/components/Documentation/Components/SectionDot.tsx +0 -27
  52. package/site/components/Documentation/Components/SectionDropdowns.tsx +0 -388
  53. package/site/components/Documentation/Components/SectionExpand.tsx +0 -143
  54. package/site/components/Documentation/Components/SectionFlex.tsx +0 -33
  55. package/site/components/Documentation/Components/SectionFormElements.tsx +0 -187
  56. package/site/components/Documentation/Components/SectionGrid.tsx +0 -125
  57. package/site/components/Documentation/Components/SectionHamburger.tsx +0 -34
  58. package/site/components/Documentation/Components/SectionIcons.tsx +0 -30
  59. package/site/components/Documentation/Components/SectionInputs.tsx +0 -89
  60. package/site/components/Documentation/Components/SectionList.tsx +0 -26
  61. package/site/components/Documentation/Components/SectionModals.tsx +0 -224
  62. package/site/components/Documentation/Components/SectionNotification.tsx +0 -38
  63. package/site/components/Documentation/Components/SectionPlacement.tsx +0 -167
  64. package/site/components/Documentation/Components/SectionProgress.tsx +0 -149
  65. package/site/components/Documentation/Components/SectionRadioButton.tsx +0 -38
  66. package/site/components/Documentation/Components/SectionRibbon.tsx +0 -33
  67. package/site/components/Documentation/Components/SectionRibbonSandbox.tsx +0 -17
  68. package/site/components/Documentation/Components/SectionSidebar.tsx +0 -125
  69. package/site/components/Documentation/Components/SectionSkeleton.tsx +0 -99
  70. package/site/components/Documentation/Components/SectionStatus.tsx +0 -53
  71. package/site/components/Documentation/Components/SectionStatusSandbox404.tsx +0 -42
  72. package/site/components/Documentation/Components/SectionStatusSandbox500.tsx +0 -13
  73. package/site/components/Documentation/Components/SectionTable.tsx +0 -83
  74. package/site/components/Documentation/Components/SectionTabs.tsx +0 -25
  75. package/site/components/Documentation/Components/SectionText.tsx +0 -34
  76. package/site/components/Documentation/Components/SectionTextarea.tsx +0 -43
  77. package/site/components/Documentation/Components/SectionToggle.tsx +0 -50
  78. package/site/components/Documentation/Components/SectionTooltips.tsx +0 -50
  79. package/site/components/Documentation/Documentation.tsx +0 -302
  80. package/site/components/Documentation/Materials/SectionColors.css +0 -33
  81. package/site/components/Documentation/Materials/SectionColors.tsx +0 -197
  82. package/site/components/Documentation/Materials/SectionIcons.tsx +0 -106
  83. package/site/components/Documentation/Materials/SectionTypography.tsx +0 -143
  84. package/site/components/Page/Page.tsx +0 -8
  85. package/site/components/Page/PageTitle.tsx +0 -8
  86. package/site/components/PropsTable/PropsTable.tsx +0 -35
  87. package/site/components/PropsTable/PropsTableCellUnion.tsx +0 -29
  88. package/site/components/PropsTable/PropsTableRow.tsx +0 -55
  89. package/site/components/Root/Root.tsx +0 -89
  90. package/site/components/Root/index.tsx +0 -4
  91. package/site/components/Sandbox/Sandbox.tsx +0 -19
  92. package/site/components/Sandbox/SandboxFrame.css +0 -20
  93. package/site/components/Sandbox/SandboxFrame.tsx +0 -77
  94. package/site/components/Section/Section.tsx +0 -8
  95. package/site/components/Section/SectionSubTitle.tsx +0 -8
  96. package/site/components/Section/SectionTitle.tsx +0 -8
  97. package/site/components/SideMenu/SideMenu.css +0 -39
  98. package/site/components/SideMenu/SideMenu.tsx +0 -53
  99. package/site/components/SideMenu/SideMenuItem.tsx +0 -34
  100. package/site/components/Window/Window.tsx +0 -62
  101. package/site/index.css +0 -11
  102. package/site/index.html +0 -16
  103. package/site/index.tsx +0 -16
  104. package/superstatic.json +0 -13
  105. package/tsconfig.json +0 -25
@@ -1,187 +0,0 @@
1
- import * as React from 'react';
2
- import {
3
- hooks,
4
- Base,
5
- Checkbox,
6
- Flex,
7
- Icon,
8
- Input,
9
- InputContainer,
10
- InputContent,
11
- InputLabel,
12
- RadioButton,
13
- Textarea,
14
- Toggle,
15
- } from '@bitrise/bitkit';
16
- import Section from '../../Section/Section';
17
- import SectionSubTitle from '../../Section/SectionSubTitle';
18
-
19
- const { useMediaQuery } = hooks;
20
-
21
- const SectionFormElements = () => {
22
- const match = useMediaQuery(['896px']);
23
-
24
- return (
25
- <Section>
26
- <Flex direction={match('896px') ? 'horizontal' : 'vertical'} gap="x12" margin="x6">
27
- <Flex grow initial={match('896px') ? 'none' : 'content'}>
28
- <SectionSubTitle>Input Inactive</SectionSubTitle>
29
- <InputLabel>Text field label</InputLabel>
30
- <InputContainer>
31
- <InputContent>
32
- <Input placeholder="Placeholder..." />
33
- </InputContent>
34
- </InputContainer>
35
- </Flex>
36
-
37
- <Flex grow initial={match('896px') ? 'none' : 'content'}>
38
- <SectionSubTitle>Input Invalid</SectionSubTitle>
39
- <InputLabel>Text field label</InputLabel>
40
- <InputContainer invalid>
41
- <InputContent grow>
42
- <Input placeholder="Placeholder..." />
43
- </InputContent>
44
- </InputContainer>
45
- </Flex>
46
-
47
- <Flex grow initial={match('896px') ? 'none' : 'content'}>
48
- <SectionSubTitle>Input Disabled</SectionSubTitle>
49
- <InputLabel>Text field label</InputLabel>
50
- <InputContainer disabled>
51
- <InputContent grow>
52
- <Input disabled placeholder="Placeholder..." />
53
- </InputContent>
54
- </InputContainer>
55
- </Flex>
56
- </Flex>
57
-
58
- <Flex direction={match('896px') ? 'horizontal' : 'vertical'} gap="x12" margin="x12">
59
- <Flex grow initial={match('896px') ? 'none' : 'content'}>
60
- <SectionSubTitle>Icon inside to the left</SectionSubTitle>
61
- <InputLabel>Text field label</InputLabel>
62
- <InputContainer>
63
- <InputContent>
64
- <Icon name="Magnifier" />
65
- <Input placeholder="Placeholder..." />
66
- </InputContent>
67
- </InputContainer>
68
- </Flex>
69
-
70
- <Flex grow initial={match('896px') ? 'none' : 'content'}>
71
- <SectionSubTitle>Icon inside to the right</SectionSubTitle>
72
- <InputLabel>Text field label</InputLabel>
73
- <InputContainer>
74
- <InputContent>
75
- <Input placeholder="Placeholder..." />
76
- <Icon name="Lock" />
77
- </InputContent>
78
- </InputContainer>
79
- </Flex>
80
- </Flex>
81
-
82
- <Flex direction={match('896px') ? 'horizontal' : 'vertical'} gap="x12" margin="x12">
83
- <Flex grow initial={match('896px') ? 'none' : 'content'}>
84
- <SectionSubTitle>Icon outside to the left</SectionSubTitle>
85
- <InputLabel>Text field label</InputLabel>
86
- <InputContainer>
87
- <InputContent outside>
88
- <Icon name="Dollars" />
89
- </InputContent>
90
-
91
- <InputContent>
92
- <Input placeholder="Placeholder..." />
93
- </InputContent>
94
- </InputContainer>
95
- </Flex>
96
-
97
- <Flex grow initial={match('896px') ? 'none' : 'content'}>
98
- <SectionSubTitle>Icon outside to the right</SectionSubTitle>
99
- <InputLabel>Text field label</InputLabel>
100
- <InputContainer>
101
- <InputContent>
102
- <Input placeholder="Placeholder..." />
103
- </InputContent>
104
-
105
- <InputContent outside>
106
- <Icon name="Key" />
107
- </InputContent>
108
- </InputContainer>
109
- </Flex>
110
- </Flex>
111
-
112
- <Flex direction={match('896px') ? 'horizontal' : 'vertical'} gap="x12" margin="x12">
113
- <Flex grow initial={match('896px') ? 'none' : 'content'}>
114
- <SectionSubTitle>Textarea</SectionSubTitle>
115
- <InputLabel>Textarea label</InputLabel>
116
- <Textarea placeholder="Placeholder..." rows="9" />
117
- </Flex>
118
-
119
- <Flex grow initial={match('896px') ? 'none' : 'content'}>
120
- <Base margin="x8">
121
- <SectionSubTitle>Textarea invalid</SectionSubTitle>
122
- <InputLabel>Textarea label</InputLabel>
123
- <Textarea invalid placeholder="Placeholder..." />
124
- </Base>
125
-
126
- <Base margin="x8">
127
- <SectionSubTitle>Textarea disabled</SectionSubTitle>
128
- <InputLabel>Textarea label</InputLabel>
129
- <Textarea disabled placeholder="Placeholder..." />
130
- </Base>
131
- </Flex>
132
- </Flex>
133
-
134
- <Flex direction={match('896px') ? 'horizontal' : 'vertical'} gap="x12" margin="x12">
135
- <Flex grow initial={match('896px') ? 'none' : 'content'}>
136
- <SectionSubTitle>Checked Checkbox</SectionSubTitle>
137
- <Checkbox defaultChecked>Checkbox label</Checkbox>
138
- </Flex>
139
-
140
- <Flex grow initial={match('896px') ? 'none' : 'content'}>
141
- <SectionSubTitle>Unchecked Checkbox</SectionSubTitle>
142
- <Checkbox>Checkbox label</Checkbox>
143
- </Flex>
144
-
145
- <Flex grow initial={match('896px') ? 'none' : 'content'}>
146
- <SectionSubTitle>Disabled Checkbox</SectionSubTitle>
147
- <Checkbox disabled>Checkbox label</Checkbox>
148
- </Flex>
149
- </Flex>
150
-
151
- <Flex direction={match('896px') ? 'horizontal' : 'vertical'} gap="x12" margin="x12">
152
- <Flex grow initial={match('896px') ? 'none' : 'content'}>
153
- <SectionSubTitle>Checked Radio button</SectionSubTitle>
154
- <RadioButton defaultChecked name="radio">
155
- Radio button label
156
- </RadioButton>
157
- </Flex>
158
-
159
- <Flex grow initial={match('896px') ? 'none' : 'content'}>
160
- <SectionSubTitle>Unchecked Radio button</SectionSubTitle>
161
- <RadioButton name="radio">Radio button label</RadioButton>
162
- </Flex>
163
-
164
- <Flex grow initial={match('896px') ? 'none' : 'content'}>
165
- <SectionSubTitle>Disabled Radio button</SectionSubTitle>
166
- <RadioButton disabled name="radio">
167
- Radio button label
168
- </RadioButton>
169
- </Flex>
170
- </Flex>
171
-
172
- <Flex direction={match('896px') ? 'horizontal' : 'vertical'} gap="x12" margin="x12">
173
- <Flex grow initial={match('896px') ? 'none' : 'content'}>
174
- <SectionSubTitle>Toggle Off</SectionSubTitle>
175
- <Toggle>Toggle label</Toggle>
176
- </Flex>
177
-
178
- <Flex grow initial={match('896px') ? 'none' : 'content'}>
179
- <SectionSubTitle>Toggle On</SectionSubTitle>
180
- <Toggle defaultChecked>Toggle label</Toggle>
181
- </Flex>
182
- </Flex>
183
- </Section>
184
- );
185
- };
186
-
187
- export default SectionFormElements;
@@ -1,125 +0,0 @@
1
- import * as React from 'react';
2
- import shuffle from 'lodash.shuffle';
3
- import { hooks, variables, Divider, Flex, Grid, Icon, Tab, Tabs, Text, TypeColors } from '@bitrise/bitkit';
4
- import CodeBlock from '../../CodeBlock/CodeBlock';
5
- import Section from '../../Section/Section';
6
-
7
- const { useState } = React;
8
- const { useMediaQuery } = hooks;
9
-
10
- const colors = shuffle(Object.entries(variables.colorMap)).filter(
11
- ([name]) =>
12
- !name.startsWith('gray') && (name.endsWith('2') || name.endsWith('3') || name.endsWith('4') || name.endsWith('5')),
13
- );
14
-
15
- const SectionGrid = () => {
16
- const match = useMediaQuery(['608px', '960px']);
17
- const [selectedTab, setSelectedTab] = useState(1);
18
-
19
- return (
20
- <Section>
21
- <Tabs gap="x6" margin="x8">
22
- <Tab active={selectedTab === 1} onClick={() => setSelectedTab(1)}>
23
- Min and Max widths
24
- </Tab>
25
-
26
- <Tab active={selectedTab === 2} onClick={() => setSelectedTab(2)}>
27
- Fixed Columns
28
- </Tab>
29
- </Tabs>
30
-
31
- {selectedTab === 1 && (
32
- <>
33
- <Text>
34
- The repeatWidthMax and repeatWidthMin props resizied items between these values so that as many items as
35
- possible fit the container width before flowing onto the next row. This is useful for layouts where the size
36
- of the content is known.
37
- </Text>
38
-
39
- <Grid alignChildren="middle" gap="x2" margin="x8" repeatWidthMax="1fr" repeatWidthMin="4rem">
40
- {colors.map(([name]) => (
41
- <Flex
42
- alignChildren="middle"
43
- backgroundColor={name as TypeColors}
44
- borderRadius="x1"
45
- direction="horizontal"
46
- key={name}
47
- padding="x2"
48
- textColor="white"
49
- >
50
- <Icon name="Bitbot" />
51
- </Flex>
52
- ))}
53
- </Grid>
54
-
55
- <CodeBlock margin="x4" title="Flexible & Responsive">{`const Component = () => (
56
- <Grid
57
- alignChildren="middle"
58
- gap="x2"
59
- repeatWidthMax="1fr"
60
- repeatWidthMin="4rem">
61
- <Flex>...</Flex>
62
- <Flex>...</Flex>
63
- <Flex>...</Flex>
64
- <Flex>...</Flex>
65
- </Grid>
66
- );`}</CodeBlock>
67
- </>
68
- )}
69
-
70
- {selectedTab === 2 && (
71
- <>
72
- <Text>
73
- Providing an explicit number of items on each row with a fraction width will cause the items to fill the
74
- containing space. This is useful for layouts that need a bit of predictability.
75
- </Text>
76
-
77
- <Grid gap="x4" margin="x8" repeat={match({ '608px': '2', '960px': '4' }, '1')} repeatWidth="1fr">
78
- {Array.from({ length: 8 }).map((_, key) => (
79
- <Flex backgroundColor="gray-1" borderRadius="x2" direction="vertical" gap="x2" key={key} padding="x2">
80
- <Flex alignChildrenVertical="middle" direction="horizontal" gap="x1">
81
- <Flex>
82
- <Icon name="Bitbot" />
83
- </Flex>
84
-
85
- <Flex>
86
- <Text weight="bold">Bitbot</Text>
87
- </Flex>
88
- </Flex>
89
-
90
- <Flex>
91
- <Divider color="gray-2" width="0.0625rem" />
92
- </Flex>
93
-
94
- <Flex>
95
- <Text size="1">
96
- I must protest your unauthorised presence on this bridge!
97
- {key % 2 ? ' I must protest your unauthorised presence on this bridge!' : undefined}
98
- </Text>
99
- </Flex>
100
- </Flex>
101
- ))}
102
- </Grid>
103
-
104
- <CodeBlock margin="x4" title="Fixed Columns & Responsive">{`const Component = () => {
105
- const match = useMediaQuery(['608px', '960px']);
106
-
107
- return (
108
- <Grid
109
- gap="x4"
110
- repeat={ match({ '608px': '2', '960px': '4' }, '1') }
111
- repeatWidth="1fr">
112
- <Flex>...</Flex>
113
- <Flex>...</Flex>
114
- <Flex>...</Flex>
115
- <Flex>...</Flex>
116
- </Grid>
117
- );
118
- };`}</CodeBlock>
119
- </>
120
- )}
121
- </Section>
122
- );
123
- };
124
-
125
- export default SectionGrid;
@@ -1,34 +0,0 @@
1
- import * as React from 'react';
2
- import { Flex, Hamburger, Link } from '@bitrise/bitkit';
3
- import CodeBlock from '../../CodeBlock/CodeBlock';
4
- import Section from '../../Section/Section';
5
-
6
- const { useState } = React;
7
-
8
- const SectionHamburger = () => {
9
- const [isActive, setIsActive] = useState(false);
10
-
11
- return (
12
- <Section>
13
- <Flex alignChildren="middle" direction="horizontal">
14
- <Flex>
15
- <Link color="grape-5" onClick={() => setIsActive(!isActive)}>
16
- <Hamburger active={isActive} size="3rem" />
17
- </Link>
18
- </Flex>
19
- </Flex>
20
-
21
- <CodeBlock title="Hamburger Usage Example">{`const Component = () => {
22
- const [isActive, setIsActive] = useState(false);
23
-
24
- return (
25
- <Link onClick={ () => setIsActive(!isActive) }>
26
- <Hamburger active={ isActive } size="3rem" />
27
- </Link>
28
- );
29
- };`}</CodeBlock>
30
- </Section>
31
- );
32
- };
33
-
34
- export default SectionHamburger;
@@ -1,30 +0,0 @@
1
- import * as React from 'react';
2
- import { variables, Flex, Grid, Icon, Text } from '@bitrise/bitkit';
3
- import Section from '../../Section/Section';
4
-
5
- const SectionIcons = () => {
6
- return (
7
- <Section>
8
- <Grid alignChildren="middle" gap="x2" repeatWidthMin="4rem">
9
- {variables.icons.map((name) => (
10
- <Flex
11
- alignChildren="middle"
12
- backgroundColor="gray-1"
13
- borderRadius="x1"
14
- direction="vertical"
15
- key={name}
16
- padding="x2"
17
- title={name}
18
- >
19
- <Icon name={name} />
20
- <Text ellipsis margin="x1" size="1">
21
- {name}
22
- </Text>
23
- </Flex>
24
- ))}
25
- </Grid>
26
- </Section>
27
- );
28
- };
29
-
30
- export default SectionIcons;
@@ -1,89 +0,0 @@
1
- import * as React from 'react';
2
- import { Input, InputContainer, InputContent, InputLabel, InputInlineHelp, Base, Icon } from '@bitrise/bitkit';
3
- import CodeBlock from '../../CodeBlock/CodeBlock';
4
- import Section from '../../Section/Section';
5
- import SectionSubTitle from '../../Section/SectionSubTitle';
6
-
7
- const SectionInputs = () => {
8
- return (
9
- <Section>
10
- <Base width="400px">
11
- <Base margin="x6">
12
- <SectionSubTitle>Input in InputContainer</SectionSubTitle>
13
- <InputContainer>
14
- <InputContent>
15
- <Input placeholder="Input" />
16
- </InputContent>
17
- </InputContainer>
18
- </Base>
19
-
20
- <Base margin="x6">
21
- <SectionSubTitle>Input with InputContent</SectionSubTitle>
22
-
23
- <InputContainer>
24
- <InputContent>
25
- <Input />
26
- <Icon name="Bell" />
27
- </InputContent>
28
- </InputContainer>
29
- </Base>
30
-
31
- <Base margin="x6">
32
- <SectionSubTitle>Input with InputLabel and InputInlineHelp</SectionSubTitle>
33
-
34
- <InputLabel>Label</InputLabel>
35
- <InputContainer>
36
- <InputContent>
37
- <Input />
38
- <Icon name="Bell" />
39
- </InputContent>
40
- </InputContainer>
41
- <InputInlineHelp>Help the user how the input should be filled!</InputInlineHelp>
42
- </Base>
43
- </Base>
44
-
45
- <CodeBlock title="Labels Usage Example">{`const Component = () => (
46
- <Base width="400px">
47
- <Base margin="x6">
48
- <SectionSubTitle>Input in InputContainer</SectionSubTitle>
49
- <InputContainer>
50
- <InputContent>
51
- <Input placeholder="Input"></Input>
52
- </InputContent>
53
- </InputContainer>
54
- </Base>
55
-
56
- <Base margin="x6">
57
- <SectionSubTitle>Input with InputContent</SectionSubTitle>
58
-
59
- <InputContainer>
60
- <InputContent>
61
- <Input />
62
- <Icon name="Bell" />
63
- </InputContent>
64
- </InputContainer>
65
- </Base>
66
-
67
- <Base margin="x6">
68
- <SectionSubTitle>
69
- Input with InputLabel and InputInlineHelp
70
- </SectionSubTitle>
71
-
72
- <InputLabel>Label</InputLabel>
73
- <InputContainer>
74
- <InputContent>
75
- <Input />
76
- <Icon name="Bell" />
77
- </InputContent>
78
- </InputContainer>
79
- <InputInlineHelp>
80
- Help the user how the input should be filled!
81
- </InputInlineHelp>
82
- </Base>
83
- </Base>
84
- );`}</CodeBlock>
85
- </Section>
86
- );
87
- };
88
-
89
- export default SectionInputs;
@@ -1,26 +0,0 @@
1
- import * as React from 'react';
2
- import { List, ListItem } from '@bitrise/bitkit';
3
- import CodeBlock from '../../CodeBlock/CodeBlock';
4
- import Section from '../../Section/Section';
5
-
6
- const SectionList = () => {
7
- return (
8
- <Section>
9
- <List>
10
- <ListItem>I must protest your unauthorised presence on this bridge!</ListItem>
11
- <ListItem>Your unauthorised presence on this bridge I must protest!</ListItem>
12
- <ListItem>On this bridge I must protest your unauthorised presence!</ListItem>
13
- </List>
14
-
15
- <CodeBlock title="List Usage Example">{`const Component = () => (
16
- <List>
17
- <ListItem>I must protest your unauthorised presence on this bridge!</ListItem>
18
- <ListItem>Your unauthorised presence on this bridge I must protest!</ListItem>
19
- <ListItem>On this bridge I must protest your unauthorised presence!</ListItem>
20
- </List>
21
- );`}</CodeBlock>
22
- </Section>
23
- );
24
- };
25
-
26
- export default SectionList;