@rws-air/webcomponents
Version:
Standard Webcomponents for AIR projects
23 lines • 803 B
TypeScript
import React from 'react';
import { TabProps } from '@mui/material';
export interface LinkTabProps {
/** The label to show in the tab */
label: string;
/** The URL for this tab to navigate to */
to: string;
/**
* Whether this link should go to an external site or not, using an `<a href=...>` component
* @default false
*/
external?: boolean;
/**
* Whether this link should open in a new tab or not
* Only applies when external = true
* @default false
*/
openInNewTab?: boolean;
/** Additional props to pass to each Tab component */
TabProps?: TabProps;
}
export declare const LinkTab: React.MemoExoticComponent<({ to, label, external, openInNewTab, ...props }: LinkTabProps) => JSX.Element>;
//# sourceMappingURL=index.d.ts.map