Skip to content

TabPanel linkedTo property is not defined #47

@heloise-gllm

Description

@heloise-gllm

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

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions