HomePhabricator
Diffusion Comm d4fd3c2eb045

[web] Introduce common `Tabs` component

Description

[web] Introduce common Tabs component

Summary:
Introduce Tab component for displaying interface in tabs. It is not used yet. It will be used in Thread Members Modal.
In the next diff, I'll replace "Thread List tabs" with this component.
The component receives tabs, information about active tab and tab setter from parent - it doesn't keep the state with current active tab itself.

Test Plan: Testing the component will be possible when it will be used in Thread Members Modal in one of next diffs.

Reviewers: palys-swm, benschac, atul

Reviewed By: palys-swm, benschac

Subscribers: ashoat, Adrian, atul, karol-bisztyga

Differential Revision: https://phabricator.ashoat.com/D3369

Details

Provenance
jacekAuthored on Mar 25 2022, 5:18 AM
Reviewer
tomek
Differential Revision
D3369: [web] Introduce common `Tabs` component
Parents
rCOMM9ac97ade83df: [web] Refactor search styling to match Figma
Branches
Unknown
Tags
Unknown