@duffel/components
Version:
Component library to build your travel product with Duffel.
17 lines (16 loc) • 380 B
TypeScript
import React from "react";
export interface TabsProps {
/**
* The currently selected tab option
*/
value: string;
/**
* Callback for when a new tab option is selected
*/
onChange: (value: string) => void;
/**
* The options you want to render on the tabs
*/
options: string[];
}
export declare const Tabs: React.FC<TabsProps>;