UNPKG

@bothub-chat/ui

Version:

Bothub UI Components

2 lines (1 loc) 352 B
import{jsxs as t,jsx as e}from"react/jsx-runtime";import{TabStyled as i,TabText as r}from"./styled.js";import"./list/styled.js";const s=({className:s,active:c=!1,children:o,onClick:l})=>t(i,{$active:c,className:s,onClick:l,children:["string"!=typeof o&&o,"string"==typeof o&&e(r,{$active:c,children:o})]});export{s as Tab,i as TabStyled,r as TabText};