Skip to content

Getting a ref to TabPanel's component #217

Open
@astanciu

Description

@astanciu

Is there any way to get a ref to the component in a TabPanel? Currently they are always returning null.

<Tabs>
...
<TabPanel>
  <MyComponent ref={(comp) => { console.log('ref: ', comp); }} />
</TabPanel>
</Tabs>

I saw the docs mentioning domRef but that seems to only apply only to Tabs component

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions