-
Notifications
You must be signed in to change notification settings - Fork 4
Open
Description
TabPanel linkedTo property
The example code given on focusUI is not working (but the demo is).
The property linkedTo is not recognized in the type PanelProps which create a critical typescript error that won't let further coding.
Type '{ children: Element; linkedTo: string; p: string; }' is not assignable to type 'IntrinsicAttributes & TabPanelProps'.
Property 'linkedTo' does not exist on type 'IntrinsicAttributes & TabPanelProps'
In ficus tabs code, the parent component Tabs is able to link the TabPanel with the TabList thanks to tabSceneMap and routes
In addition, the Tabs component given in example is missing three properties :
navigationState, renderScene and selectedTab.
Type '{ children: Element[]; initialPage: number; onChangeTab: Dispatch<SetStateAction<number>>; selectedTab: number; }' is missing the following properties from type 'TabsProps<Route>': onIndexChange, navigationState, renderScene
Metadata
Metadata
Assignees
Labels
No labels