@coreui/vue
Version:
UI Components Library for Vue.js
106 lines (105 loc) • 3.17 kB
TypeScript
declare const CProgress: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
/**
* Use to animate the stripes right to left via CSS3 animations.
*/
animated: BooleanConstructor;
/**
* Sets the color context of the component to one of CoreUI’s themed colors.
*
* @values 'primary', 'secondary', 'success', 'danger', 'warning', 'info', 'dark', 'light'
*/
color: {
type: StringConstructor;
validator: (value: string) => boolean;
};
/**
* Sets the height of the component. If you set that value the inner `<CProgressBar>` will automatically resize accordingly.
*/
height: NumberConstructor;
/**
* A string of all className you want applied to the <CProgressBar/> component.
*
* @since 5.0.0
*/
progressBarClassName: StringConstructor;
/**
* Makes progress bar thinner.
*/
thin: BooleanConstructor;
/**
* The percent to progress the ProgressBar.
*/
value: {
type: NumberConstructor;
default: number;
};
/**
* Set the progress bar variant to optional striped.
*
* @values 'striped'
*/
variant: {
type: StringConstructor;
validator: (value: string) => value is "striped";
};
/**
* Change the default color to white.
*/
white: BooleanConstructor;
}>, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
[key: string]: any;
}>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
/**
* Use to animate the stripes right to left via CSS3 animations.
*/
animated: BooleanConstructor;
/**
* Sets the color context of the component to one of CoreUI’s themed colors.
*
* @values 'primary', 'secondary', 'success', 'danger', 'warning', 'info', 'dark', 'light'
*/
color: {
type: StringConstructor;
validator: (value: string) => boolean;
};
/**
* Sets the height of the component. If you set that value the inner `<CProgressBar>` will automatically resize accordingly.
*/
height: NumberConstructor;
/**
* A string of all className you want applied to the <CProgressBar/> component.
*
* @since 5.0.0
*/
progressBarClassName: StringConstructor;
/**
* Makes progress bar thinner.
*/
thin: BooleanConstructor;
/**
* The percent to progress the ProgressBar.
*/
value: {
type: NumberConstructor;
default: number;
};
/**
* Set the progress bar variant to optional striped.
*
* @values 'striped'
*/
variant: {
type: StringConstructor;
validator: (value: string) => value is "striped";
};
/**
* Change the default color to white.
*/
white: BooleanConstructor;
}>> & Readonly<{}>, {
value: number;
white: boolean;
animated: boolean;
thin: boolean;
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
export { CProgress };