diff --git a/apps/mobile-app/scripts/utils/routes.mjs b/apps/mobile-app/scripts/utils/routes.mjs
index a5684309d..2c96d4317 100644
--- a/apps/mobile-app/scripts/utils/routes.mjs
+++ b/apps/mobile-app/scripts/utils/routes.mjs
@@ -43,6 +43,11 @@ export const routes = [
getComponent: () =>
require('@coinbase/cds-mobile/alpha/select/__stories__/AlphaSelect.stories').default,
},
+ {
+ key: 'AlphaSelectChip',
+ getComponent: () =>
+ require('@coinbase/cds-mobile/alpha/select-chip/__stories__/AlphaSelectChip.stories').default,
+ },
{
key: 'AlphaTabbedChips',
getComponent: () =>
@@ -775,6 +780,11 @@ export const routes = [
getComponent: () =>
require('@coinbase/cds-mobile/overlays/__stories__/TrayFeedCard.stories').default,
},
+ {
+ key: 'TrayHandleBarInside',
+ getComponent: () =>
+ require('@coinbase/cds-mobile/overlays/__stories__/TrayHandleBarInside.stories').default,
+ },
{
key: 'TrayInformational',
getComponent: () =>
diff --git a/apps/mobile-app/src/routes.ts b/apps/mobile-app/src/routes.ts
index 342a579a0..2c96d4317 100644
--- a/apps/mobile-app/src/routes.ts
+++ b/apps/mobile-app/src/routes.ts
@@ -43,6 +43,11 @@ export const routes = [
getComponent: () =>
require('@coinbase/cds-mobile/alpha/select/__stories__/AlphaSelect.stories').default,
},
+ {
+ key: 'AlphaSelectChip',
+ getComponent: () =>
+ require('@coinbase/cds-mobile/alpha/select-chip/__stories__/AlphaSelectChip.stories').default,
+ },
{
key: 'AlphaTabbedChips',
getComponent: () =>
@@ -539,7 +544,7 @@ export const routes = [
{
key: 'SelectChip',
getComponent: () =>
- require('@coinbase/cds-mobile/alpha/select-chip/__stories__/SelectChip.stories').default,
+ require('@coinbase/cds-mobile/chips/__stories__/SelectChip.stories').default,
},
{
key: 'SelectOption',
@@ -775,6 +780,11 @@ export const routes = [
getComponent: () =>
require('@coinbase/cds-mobile/overlays/__stories__/TrayFeedCard.stories').default,
},
+ {
+ key: 'TrayHandleBarInside',
+ getComponent: () =>
+ require('@coinbase/cds-mobile/overlays/__stories__/TrayHandleBarInside.stories').default,
+ },
{
key: 'TrayInformational',
getComponent: () =>
diff --git a/packages/mobile/src/alpha/select-chip/__stories__/SelectChip.stories.tsx b/packages/mobile/src/alpha/select-chip/__stories__/AlphaSelectChip.stories.tsx
similarity index 100%
rename from packages/mobile/src/alpha/select-chip/__stories__/SelectChip.stories.tsx
rename to packages/mobile/src/alpha/select-chip/__stories__/AlphaSelectChip.stories.tsx
diff --git a/packages/mobile/src/overlays/__stories__/TrayHandleBarInside.stories.tsx b/packages/mobile/src/overlays/__stories__/TrayHandleBarInside.stories.tsx
new file mode 100644
index 000000000..40814627e
--- /dev/null
+++ b/packages/mobile/src/overlays/__stories__/TrayHandleBarInside.stories.tsx
@@ -0,0 +1,23 @@
+import React from 'react';
+
+import { Example, ExampleScreen } from '../../examples/ExampleScreen';
+import { useTheme } from '../../hooks/useTheme';
+
+import { ScrollableTray } from './Trays';
+
+export const TrayHandleBarInside = () => {
+ const theme = useTheme();
+ return (
+
+
+
+
+
+ );
+};
+
+export default TrayHandleBarInside;
diff --git a/packages/mobile/src/overlays/__stories__/Trays.tsx b/packages/mobile/src/overlays/__stories__/Trays.tsx
index 1cf6e4bd1..d2e2700b2 100644
--- a/packages/mobile/src/overlays/__stories__/Trays.tsx
+++ b/packages/mobile/src/overlays/__stories__/Trays.tsx
@@ -7,13 +7,13 @@ import { Menu } from '../../controls/Menu';
import { SelectOption } from '../../controls/SelectOption';
import { Fallback, VStack } from '../../layout';
import type { DrawerRefBaseProps } from '../drawer/Drawer';
-import { Tray } from '../tray/Tray';
+import { Tray, type TrayProps } from '../tray/Tray';
export const options: string[] = prices.slice(0, 4);
const lotsOfOptions: string[] = prices.slice(0, 30);
-export const DefaultTray = ({ title }: { title?: React.ReactNode }) => {
+export const DefaultTray = (props: Partial) => {
const [isTrayVisible, setIsTrayVisible] = useState(true);
const setIsTrayVisibleOff = useCallback(() => setIsTrayVisible(false), [setIsTrayVisible]);
const setIsTrayVisibleOn = useCallback(() => setIsTrayVisible(true), [setIsTrayVisible]);
@@ -36,7 +36,7 @@ export const DefaultTray = ({ title }: { title?: React.ReactNode }) => {
ref={trayRef}
onCloseComplete={setIsTrayVisibleOff}
onVisibilityChange={handleTrayVisibilityChange}
- title={title}
+ {...props}
>