@kubit-ui-web/react-components
Version:
Kubit React Components is a customizable, accessible library of React web components, designed to enhance your application's user experience
16 lines (15 loc) • 644 B
TypeScript
import { DeviceBreakpointsType } from '../../../types/breakpoints/breakpoints';
interface IUseMediaProgressBarIndexProps {
index: number;
barsNum: number;
currentBar: number;
device: DeviceBreakpointsType;
maxBars: ({
default: number;
} & {
[device in DeviceBreakpointsType]?: number;
}) | undefined;
}
export declare const mediaProgressBarIndex: ({ index, barsNum, currentBar, device, maxBars, }: IUseMediaProgressBarIndexProps) => number | undefined;
export declare const buildMediaProgessBarAriaLabel: (currentBar: number, barsNum: number, barAriaLabel?: string) => string | undefined;
export {};