@@ -19,7 +19,7 @@ export default meta;
1919type Story = StoryObj < typeof meta > ;
2020
2121export const Default : Story = {
22- render : ( ) => < TipsCarousel /> ,
22+ render : ( ) => < TipsCarousel fixedTipIndex = { 0 } /> ,
2323} ;
2424
2525export const WithExplanation : Story = {
@@ -28,7 +28,7 @@ export const WithExplanation: Story = {
2828 < div className = "text-[13px] text-[#cccccc] font-primary" >
2929 Tips rotate automatically based on time. Hover to see the gradient effect:
3030 </ div >
31- < TipsCarousel />
31+ < TipsCarousel fixedTipIndex = { 0 } />
3232 < div className = "text-[11px] text-[#808080] font-primary" >
3333 Tips change every hour to provide variety and convey UX information.
3434 </ div >
@@ -40,7 +40,7 @@ export const DebugControls: Story = {
4040 render : ( ) => (
4141 < div className = "flex flex-col gap-5 p-5 bg-[#1e1e1e] min-w-[500px]" >
4242 < div className = "text-[13px] text-[#cccccc] font-primary" > For debugging, you can use:</ div >
43- < TipsCarousel />
43+ < TipsCarousel fixedTipIndex = { 1 } />
4444 < div className = "text-[11px] text-[#808080] font-monospace p-3 bg-[#2d2d30] rounded" >
4545 < div > window.setTip(0) // Show first tip</ div >
4646 < div > window.setTip(1) // Show second tip</ div >
@@ -65,7 +65,7 @@ export const InContext: Story = {
6565 justifyContent : "center" ,
6666 } }
6767 >
68- < TipsCarousel />
68+ < TipsCarousel fixedTipIndex = { 0 } />
6969 </ div >
7070 < div className = "flex items-center gap-2" >
7171 < span className = "text-[11px] text-[#808080]" > Mode: Plan</ span >
0 commit comments