You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
| activeTab | The active tab is managed through the state. Pass the activeTab prop to enable the active tab indicator animation when scrollAnim is not provided. | T | - |
865
-
| scrollAnim | From 0 to 1 / tabs.lenght. Make the indicator responsive to scrolling. See more in the bottom of Tabs section. | SharedValue<number> | - |

879
-
880
-
</details>
881
-
<details><summary>Secondary Tabs</summary>
882
-
<br />
883
-
884
-
**Properties**
885
-
886
-
| name | description | type | default |
887
-
| ------ | ------ | ------ | ---- |
888
-
| tabs | required | Tab<T, Y>[]| - |
889
-
| activeTab | The active tab is managed through the state. Pass the activeTab prop to enable the active tab indicator animation when scrollAnim is not provided. | T | - |
890
-
| scrollAnim | From 0 to 1 / tabs.lenght. Make the indicator responsive to scrolling. See more in the bottom of Tabs section. | SharedValue<number> | - |

903
-
904
-
</details>
905
856
<br />
906
857
907
858
To make the indicator responsive to scrolling, handle the scrollAnim state in the parent component and pass it as a prop to the Tabs component. This allows for seamless synchronization between the scrolling behavior and the indicator movement.
| activeTab | The active tab is managed through the state. Pass the activeTab prop to enable the active tab indicator animation when scrollAnim is not provided. | T | - |
918
+
| scrollAnim | The indicator progresses from 0 to 1 / tabs.length. To make the indicator responsive to scrolling, refer to the "Tabs" section above for more details. | SharedValue<number> | - |

932
+
933
+
</details>
934
+
<details><summary>Secondary Tabs</summary>
935
+
<br />
936
+
937
+
**Properties**
938
+
939
+
| name | description | type | default |
940
+
| ------ | ------ | ------ | ---- |
941
+
| tabs | required | Tab<T, Y>[]| - |
942
+
| activeTab | The active tab is managed through the state. Pass the activeTab prop to enable the active tab indicator animation when scrollAnim is not provided. | T | - |
943
+
| scrollAnim | The indicator progresses from 0 to 1 / tabs.length. To make the indicator responsive to scrolling, refer to the "Tabs" section above for more details. | SharedValue<number> | - |
0 commit comments