welcome-ui
Version:
Customizable design system with react • styled-components • styled-system and ariakit.
14 lines (13 loc) • 452 B
TypeScript
import { default as React } from 'react';
import { UseTabState } from '.';
export interface ActiveBarOptions {
activeTab: HTMLElement;
listRef: React.MutableRefObject<undefined>;
}
export type ActiveBarProps = ActiveBarOptions & Pick<UseTabState, 'orientation'>;
export interface ActiveBarReturn {
offset?: number;
orientation?: UseTabState['orientation'];
size?: number;
}
export declare const ActiveBar: React.FC<ActiveBarProps>;