mirror of
https://github.com/primefaces/primevue.git
synced 2025-05-10 09:22:34 +00:00
Styles imported. Components added
This commit is contained in:
parent
3cb3910561
commit
8264983db4
452 changed files with 55902 additions and 0 deletions
63
components/skeleton/Skeleton.d.ts
vendored
Normal file
63
components/skeleton/Skeleton.d.ts
vendored
Normal file
|
@ -0,0 +1,63 @@
|
|||
import { ClassComponent, GlobalComponentConstructor } from '../ts-helpers';
|
||||
|
||||
type SkeletonShapeType = 'rectangle' | 'circle' | undefined;
|
||||
|
||||
type SkeletonAnimationType = 'wave' | 'none' | undefined;
|
||||
|
||||
export interface SkeletonProps {
|
||||
/**
|
||||
* Shape of the element.
|
||||
* @see SkeletonShapeType
|
||||
* Default value is 'rectangle'.
|
||||
*/
|
||||
shape?: SkeletonShapeType;
|
||||
/**
|
||||
* Size of the Circle or Square.
|
||||
*/
|
||||
size?: string | undefined;
|
||||
/**
|
||||
* Width of the element.
|
||||
* Default value is '100%'.
|
||||
*/
|
||||
width?: string | undefined;
|
||||
/**
|
||||
* Height of the element.
|
||||
* Default value is '1rem'.
|
||||
*/
|
||||
height?: string | undefined;
|
||||
/**
|
||||
* Border radius of the element, defaults to value from theme.
|
||||
*/
|
||||
borderRadius?: string | undefined;
|
||||
/**
|
||||
* Type of the animation.
|
||||
* @see SkeletonAnimationType
|
||||
* Default value is 'wave'.
|
||||
*/
|
||||
animation?: SkeletonAnimationType;
|
||||
}
|
||||
|
||||
export interface SkeletonSlots {
|
||||
}
|
||||
|
||||
export declare type SkeletonEmits = {
|
||||
}
|
||||
|
||||
declare class Skeleton extends ClassComponent<SkeletonProps, SkeletonSlots, SkeletonEmits> { }
|
||||
|
||||
declare module '@vue/runtime-core' {
|
||||
interface GlobalComponents {
|
||||
Skeleton: GlobalComponentConstructor<Skeleton>
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
*
|
||||
* Skeleton is a placeholder to display instead of the actual content.
|
||||
*
|
||||
* Demos:
|
||||
*
|
||||
* - [Skeleton](https://www.primefaces.org/primevue/showcase/#/skeleton)
|
||||
*
|
||||
*/
|
||||
export default Skeleton;
|
Loading…
Add table
Add a link
Reference in a new issue