UNPKG

hotelier-lib-test

Version:

A skeleton to create your own React component library using Rollup, TypeScript, Sass and Storybook

30 lines (29 loc) 647 B
import React from 'react'; import "./styles.css"; type tab = { value: string; label: string; icon?: React.ReactNode; handleOnClick: any; }; type panels = { panel: React.ReactNode; tabId: string; }; interface Props extends ButtonProps { tabs: tab[]; panels: panels[]; defaultValue: string; handleOnClick?: any; addRooms: string; } interface ButtonProps { buttonIcon?: any; btHandleOnClick: any; buttonText: string; formName?: string; modalTitle?: string; modalSize?: string; } export default function Tabs(props: Props): React.JSX.Element; export {};