@coinbase/cds-mcp-server 8.17.2 → 8.17.4
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.
- package/CHANGELOG.md +8 -0
- package/mcp-docs/mobile/components/Accordion.txt +188 -0
- package/mcp-docs/mobile/components/AccordionItem.txt +29 -0
- package/mcp-docs/mobile/components/Alert.txt +155 -0
- package/mcp-docs/mobile/components/AreaChart.txt +265 -0
- package/mcp-docs/mobile/components/Avatar.txt +195 -0
- package/mcp-docs/mobile/components/AvatarButton.txt +225 -0
- package/mcp-docs/mobile/components/Banner.txt +221 -0
- package/mcp-docs/mobile/components/BarChart.txt +815 -0
- package/mcp-docs/mobile/components/Box.txt +173 -0
- package/mcp-docs/mobile/components/BrowserBar.txt +146 -0
- package/mcp-docs/mobile/components/Button.txt +198 -0
- package/mcp-docs/mobile/components/ButtonGroup.txt +79 -0
- package/mcp-docs/mobile/components/Carousel.txt +1083 -0
- package/mcp-docs/mobile/components/CartesianChart.txt +825 -0
- package/mcp-docs/mobile/components/CellMedia.txt +70 -0
- package/mcp-docs/mobile/components/Checkbox.txt +245 -0
- package/mcp-docs/mobile/components/CheckboxCell.txt +201 -0
- package/mcp-docs/mobile/components/CheckboxGroup.txt +284 -0
- package/mcp-docs/mobile/components/Chip.txt +194 -0
- package/mcp-docs/mobile/components/Coachmark.txt +157 -0
- package/mcp-docs/mobile/components/Collapsible.txt +104 -0
- package/mcp-docs/mobile/components/ContainedAssetCard.txt +134 -0
- package/mcp-docs/mobile/components/ContentCard.txt +365 -0
- package/mcp-docs/mobile/components/ContentCardBody.txt +135 -0
- package/mcp-docs/mobile/components/ContentCardFooter.txt +127 -0
- package/mcp-docs/mobile/components/ContentCardHeader.txt +145 -0
- package/mcp-docs/mobile/components/ContentCell.txt +226 -0
- package/mcp-docs/mobile/components/ControlGroup.txt +443 -0
- package/mcp-docs/mobile/components/DatePicker.txt +496 -0
- package/mcp-docs/mobile/components/Divider.txt +138 -0
- package/mcp-docs/mobile/components/DotCount.txt +145 -0
- package/mcp-docs/mobile/components/DotStatusColor.txt +58 -0
- package/mcp-docs/mobile/components/DotSymbol.txt +134 -0
- package/mcp-docs/mobile/components/Fallback.txt +157 -0
- package/mcp-docs/mobile/components/FloatingAssetCard.txt +155 -0
- package/mcp-docs/mobile/components/HStack.txt +234 -0
- package/mcp-docs/mobile/components/HeroSquare.txt +47 -0
- package/mcp-docs/mobile/components/Icon.txt +51 -0
- package/mcp-docs/mobile/components/IconButton.txt +268 -0
- package/mcp-docs/mobile/components/InputChip.txt +187 -0
- package/mcp-docs/mobile/components/Interactable.txt +186 -0
- package/mcp-docs/mobile/components/LineChart.txt +1324 -0
- package/mcp-docs/mobile/components/Link.txt +291 -0
- package/mcp-docs/mobile/components/ListCell.txt +412 -0
- package/mcp-docs/mobile/components/LogoMark.txt +84 -0
- package/mcp-docs/mobile/components/LogoWordMark.txt +93 -0
- package/mcp-docs/mobile/components/Lottie.txt +138 -0
- package/mcp-docs/mobile/components/LottieStatusAnimation.txt +46 -0
- package/mcp-docs/mobile/components/Modal.txt +83 -0
- package/mcp-docs/mobile/components/ModalBody.txt +33 -0
- package/mcp-docs/mobile/components/ModalFooter.txt +24 -0
- package/mcp-docs/mobile/components/ModalHeader.txt +27 -0
- package/mcp-docs/mobile/components/MultiContentModule.txt +379 -0
- package/mcp-docs/mobile/components/NavigationTitle.txt +131 -0
- package/mcp-docs/mobile/components/NavigationTitleSelect.txt +141 -0
- package/mcp-docs/mobile/components/NudgeCard.txt +89 -0
- package/mcp-docs/mobile/components/Numpad.txt +340 -0
- package/mcp-docs/mobile/components/Overlay.txt +151 -0
- package/mcp-docs/mobile/components/PageFooter.txt +160 -0
- package/mcp-docs/mobile/components/PageHeader.txt +185 -0
- package/mcp-docs/mobile/components/PeriodSelector.txt +407 -0
- package/mcp-docs/mobile/components/Pictogram.txt +47 -0
- package/mcp-docs/mobile/components/Point.txt +204 -0
- package/mcp-docs/mobile/components/PortalProvider.txt +78 -0
- package/mcp-docs/mobile/components/Pressable.txt +210 -0
- package/mcp-docs/mobile/components/ProgressBar.txt +129 -0
- package/mcp-docs/mobile/components/ProgressBarWithFixedLabels.txt +160 -0
- package/mcp-docs/mobile/components/ProgressBarWithFloatLabel.txt +137 -0
- package/mcp-docs/mobile/components/ProgressCircle.txt +236 -0
- package/mcp-docs/mobile/components/Radio.txt +241 -0
- package/mcp-docs/mobile/components/RadioCell.txt +201 -0
- package/mcp-docs/mobile/components/RadioGroup.txt +281 -0
- package/mcp-docs/mobile/components/ReferenceLine.txt +152 -0
- package/mcp-docs/mobile/components/RemoteImage.txt +105 -0
- package/mcp-docs/mobile/components/RemoteImageGroup.txt +60 -0
- package/mcp-docs/mobile/components/RollingNumber.txt +788 -0
- package/mcp-docs/mobile/components/Scrubber.txt +203 -0
- package/mcp-docs/mobile/components/SearchInput.txt +191 -0
- package/mcp-docs/mobile/components/SectionHeader.txt +204 -0
- package/mcp-docs/mobile/components/SegmentedTabs.txt +315 -0
- package/mcp-docs/mobile/components/Select.txt +211 -0
- package/mcp-docs/mobile/components/SelectChip.txt +323 -0
- package/mcp-docs/mobile/components/SelectOption.txt +84 -0
- package/mcp-docs/mobile/components/SlideButton.txt +330 -0
- package/mcp-docs/mobile/components/Spacer.txt +83 -0
- package/mcp-docs/mobile/components/Sparkline.txt +122 -0
- package/mcp-docs/mobile/components/SparklineGradient.txt +106 -0
- package/mcp-docs/mobile/components/SparklineInteractive.txt +156 -0
- package/mcp-docs/mobile/components/SparklineInteractiveHeader.txt +72 -0
- package/mcp-docs/mobile/components/Spinner.txt +48 -0
- package/mcp-docs/mobile/components/SpotIcon.txt +47 -0
- package/mcp-docs/mobile/components/SpotRectangle.txt +47 -0
- package/mcp-docs/mobile/components/SpotSquare.txt +47 -0
- package/mcp-docs/mobile/components/Stepper.txt +527 -0
- package/mcp-docs/mobile/components/SubBrandLogoMark.txt +125 -0
- package/mcp-docs/mobile/components/SubBrandLogoWordMark.txt +125 -0
- package/mcp-docs/mobile/components/Switch.txt +97 -0
- package/mcp-docs/mobile/components/TabIndicator.txt +48 -0
- package/mcp-docs/mobile/components/TabLabel.txt +153 -0
- package/mcp-docs/mobile/components/TabNavigation.txt +146 -0
- package/mcp-docs/mobile/components/TabbedChips.txt +142 -0
- package/mcp-docs/mobile/components/Tabs.txt +190 -0
- package/mcp-docs/mobile/components/Tag.txt +300 -0
- package/mcp-docs/mobile/components/Text.txt +211 -0
- package/mcp-docs/mobile/components/TextInput.txt +717 -0
- package/mcp-docs/mobile/components/ThemeProvider.txt +132 -0
- package/mcp-docs/mobile/components/Toast.txt +196 -0
- package/mcp-docs/mobile/components/Tooltip.txt +59 -0
- package/mcp-docs/mobile/components/TopNavBar.txt +161 -0
- package/mcp-docs/mobile/components/Tour.txt +158 -0
- package/mcp-docs/mobile/components/Tray.txt +252 -0
- package/mcp-docs/mobile/components/UpsellCard.txt +321 -0
- package/mcp-docs/mobile/components/VStack.txt +222 -0
- package/mcp-docs/mobile/components/XAxis.txt +621 -0
- package/mcp-docs/mobile/components/YAxis.txt +567 -0
- package/mcp-docs/mobile/getting-started/ai-overview.txt +108 -0
- package/mcp-docs/mobile/getting-started/installation.txt +57 -0
- package/mcp-docs/mobile/getting-started/introduction.txt +102 -0
- package/mcp-docs/mobile/getting-started/playground.txt +28 -0
- package/mcp-docs/mobile/getting-started/styling.txt +84 -0
- package/mcp-docs/mobile/getting-started/theming.txt +286 -0
- package/mcp-docs/mobile/hooks/useDimensions.txt +72 -0
- package/mcp-docs/mobile/hooks/useEventHandler.txt +120 -0
- package/mcp-docs/mobile/hooks/useMergeRefs.txt +116 -0
- package/mcp-docs/mobile/hooks/useOverlayContentContext.txt +280 -0
- package/mcp-docs/mobile/hooks/usePreviousValue.txt +74 -0
- package/mcp-docs/mobile/hooks/useRefMap.txt +178 -0
- package/mcp-docs/mobile/hooks/useTheme.txt +321 -0
- package/mcp-docs/mobile/routes.txt +139 -0
- package/mcp-docs/web/components/Accordion.txt +189 -0
- package/mcp-docs/web/components/AccordionItem.txt +31 -0
- package/mcp-docs/web/components/Alert.txt +164 -0
- package/mcp-docs/web/components/AreaChart.txt +510 -0
- package/mcp-docs/web/components/Avatar.txt +211 -0
- package/mcp-docs/web/components/AvatarButton.txt +240 -0
- package/mcp-docs/web/components/Banner.txt +226 -0
- package/mcp-docs/web/components/BarChart.txt +1267 -0
- package/mcp-docs/web/components/Box.txt +175 -0
- package/mcp-docs/web/components/Button.txt +212 -0
- package/mcp-docs/web/components/ButtonGroup.txt +79 -0
- package/mcp-docs/web/components/Calendar.txt +181 -0
- package/mcp-docs/web/components/Carousel.txt +1575 -0
- package/mcp-docs/web/components/CartesianChart.txt +1044 -0
- package/mcp-docs/web/components/CellMedia.txt +56 -0
- package/mcp-docs/web/components/Checkbox.txt +188 -0
- package/mcp-docs/web/components/CheckboxCell.txt +202 -0
- package/mcp-docs/web/components/CheckboxGroup.txt +219 -0
- package/mcp-docs/web/components/Chip.txt +196 -0
- package/mcp-docs/web/components/Coachmark.txt +188 -0
- package/mcp-docs/web/components/Collapsible.txt +119 -0
- package/mcp-docs/web/components/ContainedAssetCard.txt +232 -0
- package/mcp-docs/web/components/ContentCard.txt +367 -0
- package/mcp-docs/web/components/ContentCardBody.txt +137 -0
- package/mcp-docs/web/components/ContentCardFooter.txt +129 -0
- package/mcp-docs/web/components/ContentCardHeader.txt +147 -0
- package/mcp-docs/web/components/ContentCell.txt +219 -0
- package/mcp-docs/web/components/ControlGroup.txt +436 -0
- package/mcp-docs/web/components/DatePicker.txt +505 -0
- package/mcp-docs/web/components/Divider.txt +143 -0
- package/mcp-docs/web/components/DotCount.txt +149 -0
- package/mcp-docs/web/components/DotStatusColor.txt +58 -0
- package/mcp-docs/web/components/DotSymbol.txt +137 -0
- package/mcp-docs/web/components/Dropdown.txt +119 -0
- package/mcp-docs/web/components/Fallback.txt +163 -0
- package/mcp-docs/web/components/FloatingAssetCard.txt +250 -0
- package/mcp-docs/web/components/FullscreenAlert.txt +69 -0
- package/mcp-docs/web/components/FullscreenModal.txt +145 -0
- package/mcp-docs/web/components/FullscreenModalLayout.txt +187 -0
- package/mcp-docs/web/components/Grid.txt +236 -0
- package/mcp-docs/web/components/GridColumn.txt +209 -0
- package/mcp-docs/web/components/HStack.txt +236 -0
- package/mcp-docs/web/components/HeroSquare.txt +48 -0
- package/mcp-docs/web/components/Icon.txt +145 -0
- package/mcp-docs/web/components/IconButton.txt +390 -0
- package/mcp-docs/web/components/InputChip.txt +187 -0
- package/mcp-docs/web/components/Interactable.txt +193 -0
- package/mcp-docs/web/components/LineChart.txt +1576 -0
- package/mcp-docs/web/components/Link.txt +243 -0
- package/mcp-docs/web/components/ListCell.txt +418 -0
- package/mcp-docs/web/components/LogoMark.txt +84 -0
- package/mcp-docs/web/components/LogoWordMark.txt +93 -0
- package/mcp-docs/web/components/Lottie.txt +157 -0
- package/mcp-docs/web/components/LottieStatusAnimation.txt +57 -0
- package/mcp-docs/web/components/MediaQueryProvider.txt +108 -0
- package/mcp-docs/web/components/Modal.txt +196 -0
- package/mcp-docs/web/components/ModalBody.txt +117 -0
- package/mcp-docs/web/components/ModalFooter.txt +119 -0
- package/mcp-docs/web/components/ModalHeader.txt +123 -0
- package/mcp-docs/web/components/MultiContentModule.txt +381 -0
- package/mcp-docs/web/components/NavigationBar.txt +102 -0
- package/mcp-docs/web/components/NavigationTitle.txt +25 -0
- package/mcp-docs/web/components/NavigationTitleSelect.txt +45 -0
- package/mcp-docs/web/components/NudgeCard.txt +181 -0
- package/mcp-docs/web/components/Overlay.txt +171 -0
- package/mcp-docs/web/components/PageFooter.txt +184 -0
- package/mcp-docs/web/components/PageHeader.txt +243 -0
- package/mcp-docs/web/components/Pagination.txt +499 -0
- package/mcp-docs/web/components/PeriodSelector.txt +703 -0
- package/mcp-docs/web/components/Pictogram.txt +48 -0
- package/mcp-docs/web/components/Point.txt +460 -0
- package/mcp-docs/web/components/PortalProvider.txt +76 -0
- package/mcp-docs/web/components/Pressable.txt +193 -0
- package/mcp-docs/web/components/ProgressBar.txt +163 -0
- package/mcp-docs/web/components/ProgressBarWithFixedLabels.txt +212 -0
- package/mcp-docs/web/components/ProgressBarWithFloatLabel.txt +181 -0
- package/mcp-docs/web/components/ProgressCircle.txt +443 -0
- package/mcp-docs/web/components/Radio.txt +219 -0
- package/mcp-docs/web/components/RadioCell.txt +215 -0
- package/mcp-docs/web/components/RadioGroup.txt +288 -0
- package/mcp-docs/web/components/ReferenceLine.txt +451 -0
- package/mcp-docs/web/components/RemoteImage.txt +165 -0
- package/mcp-docs/web/components/RemoteImageGroup.txt +86 -0
- package/mcp-docs/web/components/RollingNumber.txt +1021 -0
- package/mcp-docs/web/components/Scrubber.txt +231 -0
- package/mcp-docs/web/components/SearchInput.txt +117 -0
- package/mcp-docs/web/components/SectionHeader.txt +217 -0
- package/mcp-docs/web/components/SegmentedTabs.txt +324 -0
- package/mcp-docs/web/components/Select.txt +224 -0
- package/mcp-docs/web/components/SelectChip.txt +314 -0
- package/mcp-docs/web/components/SelectOption.txt +165 -0
- package/mcp-docs/web/components/Sidebar.txt +349 -0
- package/mcp-docs/web/components/SidebarItem.txt +131 -0
- package/mcp-docs/web/components/SidebarMoreMenu.txt +30 -0
- package/mcp-docs/web/components/Spacer.txt +173 -0
- package/mcp-docs/web/components/Sparkline.txt +122 -0
- package/mcp-docs/web/components/SparklineGradient.txt +106 -0
- package/mcp-docs/web/components/SparklineInteractive.txt +153 -0
- package/mcp-docs/web/components/SparklineInteractiveHeader.txt +76 -0
- package/mcp-docs/web/components/Spinner.txt +128 -0
- package/mcp-docs/web/components/SpotIcon.txt +48 -0
- package/mcp-docs/web/components/SpotRectangle.txt +48 -0
- package/mcp-docs/web/components/SpotSquare.txt +48 -0
- package/mcp-docs/web/components/Stepper.txt +682 -0
- package/mcp-docs/web/components/SubBrandLogoMark.txt +125 -0
- package/mcp-docs/web/components/SubBrandLogoWordMark.txt +125 -0
- package/mcp-docs/web/components/Switch.txt +85 -0
- package/mcp-docs/web/components/TabIndicator.txt +48 -0
- package/mcp-docs/web/components/TabLabel.txt +158 -0
- package/mcp-docs/web/components/TabNavigation.txt +159 -0
- package/mcp-docs/web/components/TabbedChips.txt +155 -0
- package/mcp-docs/web/components/Table.txt +367 -0
- package/mcp-docs/web/components/TableBody.txt +83 -0
- package/mcp-docs/web/components/TableCaption.txt +102 -0
- package/mcp-docs/web/components/TableCell.txt +165 -0
- package/mcp-docs/web/components/TableCellFallback.txt +97 -0
- package/mcp-docs/web/components/TableFooter.txt +83 -0
- package/mcp-docs/web/components/TableHeader.txt +100 -0
- package/mcp-docs/web/components/TableRow.txt +140 -0
- package/mcp-docs/web/components/Tabs.txt +212 -0
- package/mcp-docs/web/components/Tag.txt +304 -0
- package/mcp-docs/web/components/Text.txt +232 -0
- package/mcp-docs/web/components/TextInput.txt +652 -0
- package/mcp-docs/web/components/ThemeProvider.txt +199 -0
- package/mcp-docs/web/components/TileButton.txt +158 -0
- package/mcp-docs/web/components/Toast.txt +203 -0
- package/mcp-docs/web/components/Tooltip.txt +89 -0
- package/mcp-docs/web/components/Tour.txt +179 -0
- package/mcp-docs/web/components/Tray.txt +288 -0
- package/mcp-docs/web/components/UpsellCard.txt +319 -0
- package/mcp-docs/web/components/VStack.txt +224 -0
- package/mcp-docs/web/components/XAxis.txt +619 -0
- package/mcp-docs/web/components/YAxis.txt +548 -0
- package/mcp-docs/web/getting-started/ai-overview.txt +108 -0
- package/mcp-docs/web/getting-started/installation.txt +103 -0
- package/mcp-docs/web/getting-started/introduction.txt +102 -0
- package/mcp-docs/web/getting-started/playground.txt +28 -0
- package/mcp-docs/web/getting-started/styling.txt +161 -0
- package/mcp-docs/web/getting-started/templates.txt +121 -0
- package/mcp-docs/web/getting-started/theming.txt +426 -0
- package/mcp-docs/web/hooks/useBreakpoints.txt +61 -0
- package/mcp-docs/web/hooks/useDimensions.txt +114 -0
- package/mcp-docs/web/hooks/useEventHandler.txt +120 -0
- package/mcp-docs/web/hooks/useHasMounted.txt +75 -0
- package/mcp-docs/web/hooks/useIsoEffect.txt +58 -0
- package/mcp-docs/web/hooks/useMediaQuery.txt +114 -0
- package/mcp-docs/web/hooks/useMergeRefs.txt +116 -0
- package/mcp-docs/web/hooks/useOverlayContentContext.txt +279 -0
- package/mcp-docs/web/hooks/usePreviousValue.txt +74 -0
- package/mcp-docs/web/hooks/useRefMap.txt +178 -0
- package/mcp-docs/web/hooks/useScrollBlocker.txt +82 -0
- package/mcp-docs/web/hooks/useTheme.txt +364 -0
- package/mcp-docs/web/routes.txt +163 -0
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -8,6 +8,14 @@ All notable changes to this project will be documented in this file.
|
|
|
8
8
|
|
|
9
9
|
<!-- template-start -->
|
|
10
10
|
|
|
11
|
+
## 8.17.4 (10/27/2025)
|
|
12
|
+
|
|
13
|
+
This is an artificial version bump with no new change.
|
|
14
|
+
|
|
15
|
+
## 8.17.3 (10/21/2025)
|
|
16
|
+
|
|
17
|
+
This is an artificial version bump with no new change.
|
|
18
|
+
|
|
11
19
|
## 8.17.2 ((10/16/2025, 03:16 PM PST))
|
|
12
20
|
|
|
13
21
|
This is an artificial version bump with no new change.
|
|
@@ -0,0 +1,188 @@
|
|
|
1
|
+
# Accordion
|
|
2
|
+
|
|
3
|
+
A collapsible component for displaying auxiliary content.
|
|
4
|
+
|
|
5
|
+
## Import
|
|
6
|
+
|
|
7
|
+
```tsx
|
|
8
|
+
import { Accordion } from '@coinbase/cds-mobile/accordion/Accordion'
|
|
9
|
+
```
|
|
10
|
+
|
|
11
|
+
## Examples
|
|
12
|
+
|
|
13
|
+
Check [here](/components/layout/AccordionItem) for AccordionItem Props.
|
|
14
|
+
|
|
15
|
+
### Simple Accordion
|
|
16
|
+
|
|
17
|
+
```jsx
|
|
18
|
+
<Accordion defaultActiveKey="1" onChange={(itemKey) => console.log(itemKey)}>
|
|
19
|
+
<AccordionItem
|
|
20
|
+
itemKey="1"
|
|
21
|
+
title="Accordion #1"
|
|
22
|
+
subtitle="subtitle1"
|
|
23
|
+
media={<CellMedia active type="icon" name="wallet" title="BTC" />}
|
|
24
|
+
>
|
|
25
|
+
<TextInput
|
|
26
|
+
compact
|
|
27
|
+
type="number"
|
|
28
|
+
step="0.01"
|
|
29
|
+
label="Amount"
|
|
30
|
+
placeholder="8293323.23"
|
|
31
|
+
suffix="USD"
|
|
32
|
+
/>
|
|
33
|
+
</AccordionItem>
|
|
34
|
+
<AccordionItem
|
|
35
|
+
itemKey="2"
|
|
36
|
+
title="Accordion #2"
|
|
37
|
+
subtitle="subtitle2"
|
|
38
|
+
media={<CellMedia active type="icon" name="wallet" title="BTC" />}
|
|
39
|
+
onPress={(itemKey) => console.log(itemKey)}
|
|
40
|
+
>
|
|
41
|
+
<TextBody as="p">{loremIpsum.repeat(20)}</TextBody>
|
|
42
|
+
</AccordionItem>
|
|
43
|
+
</Accordion>
|
|
44
|
+
```
|
|
45
|
+
|
|
46
|
+
### Single item
|
|
47
|
+
|
|
48
|
+
```jsx
|
|
49
|
+
<Accordion>
|
|
50
|
+
<AccordionItem
|
|
51
|
+
itemKey="1"
|
|
52
|
+
title="Social security number (SSN/TIN)"
|
|
53
|
+
subtitle="Your information is protected with 256-bit SSL ecnryption"
|
|
54
|
+
>
|
|
55
|
+
<VStack gap={3}>
|
|
56
|
+
<TextInput
|
|
57
|
+
compact
|
|
58
|
+
type="number"
|
|
59
|
+
step="0.01"
|
|
60
|
+
label="Amount"
|
|
61
|
+
placeholder="8293323.23"
|
|
62
|
+
suffix="USD"
|
|
63
|
+
/>
|
|
64
|
+
<Box>
|
|
65
|
+
<Text font="label2" as="p" color="primary">
|
|
66
|
+
Income from crypto is reportable to the IRS. Your funds may be subject to backup
|
|
67
|
+
withholding if your SSN is missing or incorrect.
|
|
68
|
+
</Text>
|
|
69
|
+
</Box>
|
|
70
|
+
<HStack gap={2}>
|
|
71
|
+
<Button variant="secondary">Cancel</Button>
|
|
72
|
+
<Button>Save</Button>
|
|
73
|
+
</HStack>
|
|
74
|
+
</VStack>
|
|
75
|
+
</AccordionItem>
|
|
76
|
+
</Accordion>
|
|
77
|
+
```
|
|
78
|
+
|
|
79
|
+
### Multiple items (one item open by default)
|
|
80
|
+
|
|
81
|
+
```jsx
|
|
82
|
+
<Accordion defaultActiveKey="2">
|
|
83
|
+
<AccordionItem itemKey="1" title="What is a W-9 form?">
|
|
84
|
+
<VStack>
|
|
85
|
+
<Text font="label2" as="p" color="foregroundMuted">
|
|
86
|
+
A Tax Certification (W-9 form) is a form that certifies a tax payer's information (name,
|
|
87
|
+
address and social security number). It should also report whether they have been instructed
|
|
88
|
+
by the IRS that they are subject to backup withholding.
|
|
89
|
+
</Text>
|
|
90
|
+
<Text font="label2" as="p" color="foregroundMuted">
|
|
91
|
+
To assist with completing the W-9, we have created a digital option which allows for the
|
|
92
|
+
document to be easily and quickly completed online.
|
|
93
|
+
</Text>
|
|
94
|
+
</VStack>
|
|
95
|
+
</AccordionItem>
|
|
96
|
+
<AccordionItem itemKey="2" title="What is backup witholding?">
|
|
97
|
+
<VStack>
|
|
98
|
+
<Text font="label2" as="p" color="foregroundMuted">
|
|
99
|
+
Backup withholding is federal tax that financial institutions are required to withhold for
|
|
100
|
+
individuals with the following situations:
|
|
101
|
+
</Text>
|
|
102
|
+
<Text font="label2" as="p" color="foregroundMuted">
|
|
103
|
+
Backup withholding is federal tax that financial institutions are required to withhold for
|
|
104
|
+
individuals with the following situations:
|
|
105
|
+
</Text>
|
|
106
|
+
<Text font="label2" as="p" color="foregroundMuted">
|
|
107
|
+
Backup withholding is federal tax that financial institutions are required to withhold for
|
|
108
|
+
individuals with the following situations:
|
|
109
|
+
</Text>
|
|
110
|
+
<Text font="label2" as="p" color="foregroundMuted">
|
|
111
|
+
Backup withholding is federal tax that financial institutions are required to withhold for
|
|
112
|
+
individuals with the following situations:
|
|
113
|
+
</Text>
|
|
114
|
+
|
|
115
|
+
<ul>
|
|
116
|
+
<li>
|
|
117
|
+
<Text font="label2" as="p" color="foregroundMuted">
|
|
118
|
+
The account holder does not provide their name and tax identification number and certify
|
|
119
|
+
that the information is correct in the manner required by the IRS prior to receiving
|
|
120
|
+
reportable payments including dividends, interest, and gross proceeds from sale
|
|
121
|
+
transactions.
|
|
122
|
+
</Text>
|
|
123
|
+
</li>
|
|
124
|
+
<li>
|
|
125
|
+
<Text font="label2" as="p" color="foregroundMuted">
|
|
126
|
+
B or C Notice - You have recieved either notices from IRS indicating that you are
|
|
127
|
+
subject to backup withholding
|
|
128
|
+
</Text>
|
|
129
|
+
</li>
|
|
130
|
+
</ul>
|
|
131
|
+
</VStack>
|
|
132
|
+
</AccordionItem>
|
|
133
|
+
<AccordionItem itemKey="3" title="What's a US persons?">
|
|
134
|
+
<VStack>
|
|
135
|
+
<Text font="label2" as="p" color="foregroundMuted">
|
|
136
|
+
To be considered a US person for tax purposes, you must either:
|
|
137
|
+
</Text>
|
|
138
|
+
<ul>
|
|
139
|
+
<li>
|
|
140
|
+
<Text font="label2" as="p" color="foregroundMuted">
|
|
141
|
+
Be a US citizen, or
|
|
142
|
+
</Text>
|
|
143
|
+
</li>
|
|
144
|
+
<li>
|
|
145
|
+
<Text font="label2" as="p" color="foregroundMuted">
|
|
146
|
+
Pass the permanent resident card test, or
|
|
147
|
+
</Text>
|
|
148
|
+
</li>
|
|
149
|
+
<li>
|
|
150
|
+
<Text font="label2" as="p" color="foregroundMuted">
|
|
151
|
+
Pass the substantial presence test (in the US for at least 31 days during the current
|
|
152
|
+
calendar year and at least 183 days during the last 3 years.
|
|
153
|
+
</Text>
|
|
154
|
+
</li>
|
|
155
|
+
</ul>
|
|
156
|
+
<Text font="label2" as="p" color="foregroundMuted">
|
|
157
|
+
If none of the above situations apply to you, you are considered a non-US person for tax
|
|
158
|
+
purposes.
|
|
159
|
+
</Text>
|
|
160
|
+
<Link to="/">Learn more</Link>
|
|
161
|
+
</VStack>
|
|
162
|
+
</AccordionItem>
|
|
163
|
+
<AccordionItem itemKey="4" title="What is a FATCA code?">
|
|
164
|
+
<VStack>
|
|
165
|
+
<Text font="label2" as="p" color="foregroundMuted">
|
|
166
|
+
The Foreign Account Tax Compliance Act (FATCA) requires a participating foreign financial
|
|
167
|
+
institution to report all US account holders that are specified US persons.
|
|
168
|
+
</Text>
|
|
169
|
+
<Text font="label2" as="p" color="foregroundMuted">
|
|
170
|
+
This is not applicable to our customers because Coinbase accounts are US based and no FATCA
|
|
171
|
+
code is required.
|
|
172
|
+
</Text>
|
|
173
|
+
</VStack>
|
|
174
|
+
</AccordionItem>
|
|
175
|
+
</Accordion>
|
|
176
|
+
```
|
|
177
|
+
|
|
178
|
+
## Props
|
|
179
|
+
|
|
180
|
+
| Prop | Type | Required | Default | Description |
|
|
181
|
+
| --- | --- | --- | --- | --- |
|
|
182
|
+
| `activeKey` | `string \| null` | No | `-` | - |
|
|
183
|
+
| `defaultActiveKey` | `string` | No | `-` | Default active accordion item key. If not specified or does not exist in the accordion items, all items will be closed on mount |
|
|
184
|
+
| `onChange` | `((activeKey: string \| null) => void)` | No | `-` | Callback function fired when any of accordion items is pressed |
|
|
185
|
+
| `setActiveKey` | `((activeKey: string \| null) => void)` | No | `-` | - |
|
|
186
|
+
| `testID` | `string` | No | `-` | Used to locate this element in unit and end-to-end tests. Under the hood, testID translates to data-testid on Web. On Mobile, testID stays the same - testID |
|
|
187
|
+
|
|
188
|
+
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
# AccordionItem
|
|
2
|
+
|
|
3
|
+
An individual collapsible item within an Accordion.
|
|
4
|
+
|
|
5
|
+
## Import
|
|
6
|
+
|
|
7
|
+
```tsx
|
|
8
|
+
import { AccordionItem } from '@coinbase/cds-mobile/accordion/AccordionItem'
|
|
9
|
+
```
|
|
10
|
+
|
|
11
|
+
## Examples
|
|
12
|
+
|
|
13
|
+
Check [Accordion](/components/layout/Accordion) for usage examples.
|
|
14
|
+
|
|
15
|
+
## Props
|
|
16
|
+
|
|
17
|
+
| Prop | Type | Required | Default | Description |
|
|
18
|
+
| --- | --- | --- | --- | --- |
|
|
19
|
+
| `children` | `null \| string \| number \| false \| true \| ReactElement<any, string \| JSXElementConstructor<any>> \| Iterable<ReactNode> \| ReactPortal` | Yes | `-` | Collapsible content |
|
|
20
|
+
| `itemKey` | `string` | Yes | `-` | Key of the accordion item. This should be unique inside the same Accordion unless you want multiple items to be controlled at the same time. |
|
|
21
|
+
| `title` | `string` | Yes | `-` | Title of the accordion item |
|
|
22
|
+
| `headerRef` | `RefObject<View>` | No | `-` | - |
|
|
23
|
+
| `media` | `null \| string \| number \| false \| true \| ReactElement<any, string \| JSXElementConstructor<any>> \| Iterable<ReactNode> \| ReactPortal` | No | `-` | - |
|
|
24
|
+
| `onPress` | `((key: string) => void)` | No | `-` | Callback function fired when the accordion item is pressed |
|
|
25
|
+
| `panelRef` | `RefObject<View>` | No | `-` | - |
|
|
26
|
+
| `subtitle` | `string` | No | `-` | Subtitle of the accordion item |
|
|
27
|
+
| `testID` | `string` | No | `-` | Used to locate this element in unit and end-to-end tests. Under the hood, testID translates to data-testid on Web. On Mobile, testID stays the same - testID |
|
|
28
|
+
|
|
29
|
+
|
|
@@ -0,0 +1,155 @@
|
|
|
1
|
+
# Alert
|
|
2
|
+
|
|
3
|
+
A dialog that communicates critical information and blocks user interaction.
|
|
4
|
+
|
|
5
|
+
## Import
|
|
6
|
+
|
|
7
|
+
```tsx
|
|
8
|
+
import { Alert } from '@coinbase/cds-mobile/overlays/Alert'
|
|
9
|
+
```
|
|
10
|
+
|
|
11
|
+
## Examples
|
|
12
|
+
|
|
13
|
+
### Default Alert
|
|
14
|
+
|
|
15
|
+
Controlled using `visible` and `onRequestClose`.
|
|
16
|
+
|
|
17
|
+
```jsx
|
|
18
|
+
function DefaultAlertExample() {
|
|
19
|
+
const [visible, setVisible] = useState(false);
|
|
20
|
+
|
|
21
|
+
const toggleOn = () => setVisible(true);
|
|
22
|
+
const toggleOff = () => setVisible(false);
|
|
23
|
+
|
|
24
|
+
return (
|
|
25
|
+
<PortalProvider>
|
|
26
|
+
<ButtonGroup>
|
|
27
|
+
<Button onPress={toggleOn}>Show Alert</Button>
|
|
28
|
+
</ButtonGroup>
|
|
29
|
+
<Alert
|
|
30
|
+
title="Alert title"
|
|
31
|
+
body="Alert body type that can run over multiple lines, but should be kept short."
|
|
32
|
+
pictogram="warning"
|
|
33
|
+
visible={visible}
|
|
34
|
+
onRequestClose={toggleOff}
|
|
35
|
+
preferredActionLabel="Primary"
|
|
36
|
+
onPreferredActionPress={() => console.log('preferred pressed')}
|
|
37
|
+
dismissActionLabel="Cancel"
|
|
38
|
+
onDismissActionPress={() => console.log('dismiss pressed')}
|
|
39
|
+
/>
|
|
40
|
+
</PortalProvider>
|
|
41
|
+
);
|
|
42
|
+
}
|
|
43
|
+
```
|
|
44
|
+
|
|
45
|
+
### Portal Alert
|
|
46
|
+
|
|
47
|
+
Controlled programmatically using the `useAlert` hook.
|
|
48
|
+
|
|
49
|
+
:::warning
|
|
50
|
+
|
|
51
|
+
**Deprecated**: Inserting JSX into the DOM using a function in an event handler is an anti-pattern. This hook will be removed in future version. Use the `visible` and `onRequestClose` props instead
|
|
52
|
+
|
|
53
|
+
:::
|
|
54
|
+
|
|
55
|
+
```jsx
|
|
56
|
+
function PortalAlertExample() {
|
|
57
|
+
function PortalAlert() {
|
|
58
|
+
const alert = useAlert();
|
|
59
|
+
|
|
60
|
+
const showAlert = () =>
|
|
61
|
+
alert.open(
|
|
62
|
+
<Alert
|
|
63
|
+
title="Alert title"
|
|
64
|
+
body="Alert body type that can run over multiple lines, but should be kept short."
|
|
65
|
+
pictogram="warning"
|
|
66
|
+
visible
|
|
67
|
+
onRequestClose={alert.close}
|
|
68
|
+
preferredActionLabel="Save"
|
|
69
|
+
onPreferredActionPress={() => console.log('Save pressed')}
|
|
70
|
+
/>,
|
|
71
|
+
);
|
|
72
|
+
|
|
73
|
+
return <Button onPress={showAlert}>Show Alert</Button>;
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
return (
|
|
77
|
+
<PortalProvider>
|
|
78
|
+
<PortalAlert />
|
|
79
|
+
</PortalProvider>
|
|
80
|
+
);
|
|
81
|
+
}
|
|
82
|
+
```
|
|
83
|
+
|
|
84
|
+
### Alert over Modal
|
|
85
|
+
|
|
86
|
+
Alert displays on top of a `Modal`. You must pass stacked as a prop to `Alert` when it is used inside of a `Modal`.
|
|
87
|
+
|
|
88
|
+
```jsx
|
|
89
|
+
function AlertOnModalExample() {
|
|
90
|
+
function AlertOnModal() {
|
|
91
|
+
const { openModal, closeModal } = useModal();
|
|
92
|
+
const alert = useAlert();
|
|
93
|
+
|
|
94
|
+
const showAlert = () =>
|
|
95
|
+
alert.open(
|
|
96
|
+
<Alert
|
|
97
|
+
visible
|
|
98
|
+
onRequestClose={alert.close}
|
|
99
|
+
title="Are you sure?"
|
|
100
|
+
body="Cancel will discard your existing changes, are you sure?"
|
|
101
|
+
pictogram="warning"
|
|
102
|
+
preferredActionLabel="Discard"
|
|
103
|
+
onPreferredActionPress={closeModal}
|
|
104
|
+
preferredActionVariant="negative"
|
|
105
|
+
dismissActionLabel="Cancel"
|
|
106
|
+
stacked
|
|
107
|
+
/>,
|
|
108
|
+
);
|
|
109
|
+
|
|
110
|
+
const handlePress = () => {
|
|
111
|
+
openModal(
|
|
112
|
+
<Modal visible onRequestClose={closeModal}>
|
|
113
|
+
<ModalBody>
|
|
114
|
+
<TextBody as="p">{loremIpsum}</TextBody>
|
|
115
|
+
</ModalBody>
|
|
116
|
+
<ModalFooter
|
|
117
|
+
primaryAction={<Button onPress={closeModal}>Save</Button>}
|
|
118
|
+
secondaryAction={<Button onPress={showAlert}>Cancel</Button>}
|
|
119
|
+
/>
|
|
120
|
+
</Modal>,
|
|
121
|
+
);
|
|
122
|
+
};
|
|
123
|
+
|
|
124
|
+
return <Button onPress={handlePress}>Open Modal</Button>;
|
|
125
|
+
}
|
|
126
|
+
|
|
127
|
+
return (
|
|
128
|
+
<PortalProvider>
|
|
129
|
+
<AlertOnModal />
|
|
130
|
+
</PortalProvider>
|
|
131
|
+
);
|
|
132
|
+
}
|
|
133
|
+
```
|
|
134
|
+
|
|
135
|
+
## Props
|
|
136
|
+
|
|
137
|
+
| Prop | Type | Required | Default | Description |
|
|
138
|
+
| --- | --- | --- | --- | --- |
|
|
139
|
+
| `body` | `string` | Yes | `-` | Alert body/description |
|
|
140
|
+
| `onRequestClose` | `() => void` | Yes | `-` | Callback function fired when modal is closed. |
|
|
141
|
+
| `preferredActionLabel` | `string` | Yes | `-` | Label of the preferred action |
|
|
142
|
+
| `title` | `string` | Yes | `-` | Alert title |
|
|
143
|
+
| `visible` | `boolean` | Yes | `false` | Controls visibility of the Modal |
|
|
144
|
+
| `actionLayout` | `horizontal \| vertical` | No | `horizontal` | Layout of the actions |
|
|
145
|
+
| `dismissActionLabel` | `string` | No | `-` | Label of the dismiss action |
|
|
146
|
+
| `key` | `Key \| null` | No | `-` | - |
|
|
147
|
+
| `onDidClose` | `(() => void)` | No | `-` | Callback fired after the component is closed. |
|
|
148
|
+
| `onDismissActionPress` | `(() => void)` | No | `-` | Callback function fired when the dismiss action is pressed |
|
|
149
|
+
| `onPreferredActionPress` | `(() => void)` | No | `-` | Callback function fired when the preferred action is pressed |
|
|
150
|
+
| `pictogram` | `key \| done \| cardSuccess \| warning \| error \| add \| browser \| calculator \| calendar \| checkmark \| clock \| coinbaseOneLogo \| derivativesProduct \| email \| gasFees \| identityCard \| instantUnstakingClock \| laptop \| learningRewardsProduct \| lock \| passport \| paypal \| phone \| planet \| safe \| securityKey \| settings \| shield \| support \| taxes \| tokenSales \| trading \| verifiedPools \| wallet \| 2fa \| accountsNavigation \| accreditedInvestor \| addCard \| addPayment \| addPhone \| addressBook \| addToWatchlist \| addWallet \| advancedTradingDesktop \| advancedTradingNavigation \| advancedTradingRebates \| agent \| alerts \| alertsCoinbaseOne \| analyticsNavigation \| apartOfDropsNft \| applyForHigherLimits \| apyInterest \| assetEncryption \| assetHubNavigation \| assetManagement \| assetManagementNavigation \| assetMeasurements \| assetMovement \| authenticationApp \| authenticator \| authenticatorAlt \| authenticatorProgress \| avatarAa \| avatarAb \| avatarAc \| avatarAd \| avatarAe \| avatarAf \| avatarAg \| avatarAh \| avatarAi \| avatarAj \| avatarBa \| avatarBb \| avatarBc \| avatarBd \| avatarBe \| avatarBf \| avatarBg \| avatarBh \| avatarBi \| avatarBj \| avatarCa \| avatarCb \| avatarCc \| avatarCd \| avatarCe \| avatarCf \| avatarCg \| avatarCh \| avatarCi \| avatarCj \| avatarDa \| avatarDb \| avatarDc \| avatarDd \| avatarDe \| avatarDf \| avatarDg \| avatarDh \| avatarDi \| avatarDj \| avatarEa \| avatarEb \| avatarEc \| avatarEd \| avatarEe \| avatarEf \| avatarEg \| avatarEh \| avatarEi \| avatarEj \| avatarFa \| avatarFb \| avatarFc \| avatarFd \| avatarFe \| avatarFf \| avatarFg \| avatarFh \| avatarFi \| avatarFj \| avatarGa \| avatarGb \| avatarGc \| avatarGd \| avatarGe \| avatarGf \| avatarGg \| avatarGh \| avatarGi \| avatarGj \| avatarHa \| avatarHb \| avatarHc \| avatarHd \| avatarHe \| avatarHf \| avatarHg \| avatarHh \| avatarHi \| avatarHj \| avatarIa \| avatarIb \| avatarIc \| avatarId \| avatarIe \| avatarIf \| avatarIg \| avatarIh \| avatarIi \| avatarIj \| avatarJa \| avatarJb \| avatarJc \| avatarJd \| avatarJe \| avatarJf \| avatarJg \| avatarJh \| avatarJi \| avatarJj \| barChart \| baseChartSmall \| baseCheckSmall \| baseCoinCryptoSmall \| baseCoinNetworkSmall \| baseCoinStack \| baseConnectApps \| baseConnectSmall \| baseDecentralizationSmall \| baseDiamondSmall \| baseDiamondTrophy \| baseEmptySmall \| baseErrorButterflySmall \| baseErrorSmall \| baseLoadingSmall \| baseLocationSmall \| baseLogo \| baseLogoNavigation \| baseMessaging \| baseMintNftSmall \| baseNetworkSmall \| baseNftSmall \| basePaycoinSmall \| basePeopleSmall \| basePiechartSmall \| baseSecuritySmall \| baseSendSmall \| baseSignin \| baseTargetSmall \| bitcoin \| bitcoinPizza \| bitcoinRewards \| bitcoinWhitePaper \| blockchainConnection \| bonusFivePercent \| bonusTwoPercent \| borrowCoins \| borrowingLending \| borrowNavigation \| browserMultiPlatform \| browserTransaction \| bundle \| businessProduct \| calendarCaution \| candleSticksGraph \| cardBlocked \| cardDeclined \| cardNavigation \| cb1BankTransfers \| chart \| chat \| cloudNavigation \| coinbaseLogoAdvancedBrand \| coinbaseLogoNavigation \| coinbaseOneAuthenticator \| coinbaseOneChat \| coinbaseOneEarn \| coinbaseOneEarnCoins \| coinbaseOneEarnCoinsLogo \| coinbaseOneFiat \| coinbaseOneProductIcon \| coinbaseOneProductInvestWeekly \| coinbaseOneRefreshed \| coinbaseOneShield \| coinbaseOneTrade \| coinbaseOneTrusted \| coinbaseOneUnlimitedRewards \| coinbaseUnlockOffers \| coinbaseWalletApp \| coinFocus \| coinShare \| coldStorageCheck \| collectionOfAssets \| commerceCheckout \| commerceInvoice \| commerceNavigation \| completeQuiz \| complianceNavigation \| congratulations \| connectNavigation \| contactInfo \| controlWalletStorage \| creative \| creditCard \| crypto101 \| cryptoCard \| cryptoFolder \| custodialJourney \| custodyNavigation \| dataMarketplaceNavigation \| decentralizationEverything \| decentralizedExchange \| decentralizedIdentity \| decentralizedWeb3 \| defiEarnMoment \| delegate \| delegateNavigation \| derivativesNavigation \| developerPlatformNavigation \| developerSDKNavigation \| directDepositNavigation \| dollarShowcase \| driversLicense \| driversLicenseWheel \| earnCoins \| earnGraph \| earnNavigation \| easyToUse \| economyGlobal \| emailAndMessages \| enableVoting \| envelope \| ethereumFocus \| ethRewards \| ethStaking \| ethStakingChart \| ethStakingRewards \| ethToken \| exchangeNavigation \| explore \| fast \| faucetNavigation \| feesRestriction \| fiat \| finance \| findYourSelection \| formDownload \| futures \| futuresCoinbaseOne \| gem \| genericCountryIDCard \| getStarted \| giftbox \| globalConnections \| globalPayments \| globalTransactions \| googleAuthenticator \| governance \| hardwareWallet \| helpCenterNavigation \| higherLimits \| holdingCoin \| idBlock \| idError \| idVerification \| increaseLimits \| institutionalNavigation \| institutions \| internationalExchangeNavigation \| internet \| investGraph \| laptopCharts \| laptopVideo \| layerNetworks \| leadGraph \| learn \| learningRewardsNavigation \| lightbulbLearn \| lightningNetworkSend \| linkYourAccount \| listingFees \| locationUsa \| lowFees \| manageWeb3SignersAcct \| miningCoins \| mintedNft \| mobileCharts \| mobileError \| mobileNotifcation \| mobileSuccess \| mobileWarning \| moneyEarn \| moneySwift \| monitoringPerformance \| moreThanBitcoin \| multiAccountsAndCards \| multiPlatform \| multipleAssets \| musicAndSounds \| myNumberCard \| newUserChecklistBuyCrypto \| newUserChecklistCompleteAccount \| newUserChecklistVerifyId \| nftAvatar \| nftLibrary \| nftNavigation \| noAnnualFee \| noNftFound \| notificationHubAnalysis \| notificationHubNews \| notificationHubPortfolio \| notificationHubSocial \| notifications \| noVisibility \| noWiFi \| orders \| outage \| partialCoins \| participateNavigation \| passwordWalletLocked \| payNavigation \| peerToPeer \| pieChart \| pizza \| pluginBrowser \| positiveReviews \| predictionMarkets \| premiumInvestor \| priceTracking \| primeMobileApp \| primeNavigation \| privateClientNavigation \| proNavigation \| protectionPlan \| queryTransactNavigation \| receipt \| recurringPurchases \| restaking \| reviewAndAdd \| rewardsNavigation \| riskStaking \| rosettaNavigation \| securedAssets \| security \| securityCoinShield \| seedPhrase \| selectAddNft \| selfCustodyWallet \| selfServe \| sellSendAnytime \| sendPaymentToOthers \| settled \| sideChainSide \| signInNavigation \| smsAuthenticate \| sparkleCoinbaseOne \| ssnCard \| stableCoinMetaphor \| stacking \| stakingGraph \| standWithCryptoLogoNavigation \| startToday \| strongInfo \| strongWarning \| successPhone \| supportChat \| takeQuiz \| target \| taxBeta \| taxCenterNavigation \| taxesArrangement \| taxSeason \| timingCheck \| tokenBaskets \| transferSend \| transistor \| trendingAssets \| trusted \| tryAgainLater \| twoBonus \| typeScript \| ubiKey \| usaProduct \| usdcEarn \| usdcInterest \| usdcLoan \| usdcLogo \| usdcRewards \| usdcRewardsRibbon \| usdcToken \| venturesNavigation \| videoCalendar \| videoContent \| waiting \| waitingForConsensus \| walletAsServiceNavigation \| walletDeposit \| walletError \| walletExchange \| walletLinkNavigation \| walletLogoNavigation \| walletNavigation \| walletPassword \| walletSuccess \| walletWarning \| winBTC \| worldwide \| wrapEth` | No | `-` | Illustration pictogram name for alert |
|
|
151
|
+
| `preferredActionVariant` | `primary \| negative` | No | `primary` | Button variant of the preferred action |
|
|
152
|
+
| `ref` | `((instance: ModalRefBaseProps \| null) => void) \| RefObject<ModalRefBaseProps> \| null` | No | `-` | - |
|
|
153
|
+
| `testID` | `string` | No | `-` | Used to locate this element in unit and end-to-end tests. Under the hood, testID translates to data-testid on Web. On Mobile, testID stays the same - testID |
|
|
154
|
+
|
|
155
|
+
|