Skip to content

Profectus / features/tabs/tab

features/tabs/tab ​

This feature represents a single tab inside of a TabFamily. It's essentially just a wrapper around the tab's display.

ts
const tab = createTab(() => ({
    display: () => (<>
        <h1>Tab content!</h1>
        {render(achievement)}
    </>)
}));

Index ​

Interfaces ​

Variables ​

Functions ​