adwaita-web
Version:
A GTK inspired toolkit designed to build awesome web apps
29 lines (28 loc) • 953 B
TypeScript
import React from "react";
export declare const axisProps: {
horizontal: (percent: number) => {
width: string;
};
"horizontal-reverse": (percent: number) => {
width: string;
};
vertical: (percent: number) => {
height: string;
};
};
export declare type ProgressProps = {
/** The label of the slider. */
"aria-label"?: string;
/** The id of the element containing a label for the slider. */
"aria-labelledby"?: string;
/** A string value that provides a user-friendly name for the current value of the slider. */
"aria-valuetext"?: string;
className?: string;
/** The slider orientation. */
orientation?: "horizontal" | "vertical";
/** The value of the slider. For indeterminate pass undefined. */
value?: number;
/** If a label should be shown */
label?: boolean | React.ReactNode;
};
export declare function Progress(props: ProgressProps): JSX.Element;