UNPKG

desmy-react

Version:

Introducing an easy-to-use, lightning-fast React.js component that streamlines your development process. Our solution prioritizes simplicity, speed, and optimization, making it a breeze to build projects in React.

19 lines (18 loc) 502 B
import { default as React, Component } from 'react'; interface Tab { label: string; icon?: React.ReactNode; } interface TabLayoutProps { tabs: Tab[]; children: React.ReactNode[]; } interface TabLayoutState { activeTabIndex: number; } declare class DesmyTabLayout extends Component<TabLayoutProps, TabLayoutState> { constructor(props: TabLayoutProps); setActiveTab: (index: number) => void; render(): import("react/jsx-runtime").JSX.Element; } export { DesmyTabLayout };