We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 31f0fd6 commit fe63070Copy full SHA for fe63070
packages/@react-aria/tabs/docs/useTabList.mdx
@@ -101,15 +101,15 @@ function Tabs(props) {
101
<div className={`tabs ${props.orientation || ''}`}>
102
<div {...tabListProps} ref={ref}>
103
{[...state.collection].map((item) => (
104
- <Tab key={item.key} item={item} state={state} orientation={props.orientation} />
+ <Tab key={item.key} item={item} state={state} />
105
))}
106
</div>
107
<TabPanel key={state.selectedItem?.key} state={state} />
108
109
);
110
}
111
112
-function Tab({item, state, orientation}) {
+function Tab({item, state}) {
113
let {key, rendered} = item;
114
let ref = React.useRef(null);
115
let {tabProps} = useTab({key}, state, ref);
0 commit comments