From 14f324fe890fcedc6e34889d9b04d5d6bfeb8380 Mon Sep 17 00:00:00 2001 From: Kyle Taborski Date: Fri, 26 Jul 2024 13:50:09 -0700 Subject: [PATCH] RSP nested tabs story (#6756) --- .../tabs/stories/Tabs.stories.tsx | 49 +++++++++++++++++++ 1 file changed, 49 insertions(+) diff --git a/packages/@react-spectrum/tabs/stories/Tabs.stories.tsx b/packages/@react-spectrum/tabs/stories/Tabs.stories.tsx index 64b0e98e661..66b2c374313 100644 --- a/packages/@react-spectrum/tabs/stories/Tabs.stories.tsx +++ b/packages/@react-spectrum/tabs/stories/Tabs.stories.tsx @@ -402,6 +402,55 @@ Links.story = { } }; +export const Nested = (props) => { + return ( + + + Tab 1 + Tab 2 + Tab 3 + Tab 4 + Tab 5 + + + + Nested + + + Tab 1 + Tab 2 + + + + + + + + + + + + + Bar + To bar or not to bar. + + + Foobar + That is the foobar. + + + Foofoo + Once more foo upon the foo. + + + Barfoo + What's he that barfoos so? + + + + ); +}; + function render(props = {}) { return (