mirror of
https://github.com/primefaces/primevue.git
synced 2025-05-08 16:37:15 +00:00
Convert to PrimeVue monorepo
This commit is contained in:
parent
970ba75b06
commit
61929eae75
4144 changed files with 59008 additions and 36177 deletions
58
packages/primevue/scripts/components/skeleton.js
Normal file
58
packages/primevue/scripts/components/skeleton.js
Normal file
|
@ -0,0 +1,58 @@
|
|||
const SkeletonProps = [
|
||||
{
|
||||
name: 'shape',
|
||||
type: 'string',
|
||||
default: 'rectangle',
|
||||
description: 'Shape of the element, options are "rectangle" and "circle".'
|
||||
},
|
||||
{
|
||||
name: 'size',
|
||||
type: 'string',
|
||||
default: 'null',
|
||||
description: 'Size of the Circle or Square.'
|
||||
},
|
||||
{
|
||||
name: 'width',
|
||||
type: 'string',
|
||||
default: '100%',
|
||||
description: 'Width of the element.'
|
||||
},
|
||||
{
|
||||
name: 'height',
|
||||
type: 'string',
|
||||
default: '1rem',
|
||||
description: 'Height of the element.'
|
||||
},
|
||||
{
|
||||
name: 'borderRadius',
|
||||
type: 'string',
|
||||
default: 'null',
|
||||
description: 'Border radius of the element, defaults to value from theme.'
|
||||
},
|
||||
{
|
||||
name: 'animation',
|
||||
type: 'string',
|
||||
default: 'wave',
|
||||
description: 'Type of the animation, valid options are "wave" and "none".'
|
||||
},
|
||||
{
|
||||
name: 'pt',
|
||||
type: 'any',
|
||||
default: 'null',
|
||||
description: 'Used to pass attributes to DOM elements inside the component.'
|
||||
},
|
||||
{
|
||||
name: 'unstyled',
|
||||
type: 'boolean',
|
||||
default: 'false',
|
||||
description: 'When enabled, it removes component related styles in the core.'
|
||||
}
|
||||
];
|
||||
|
||||
module.exports = {
|
||||
skeleton: {
|
||||
name: 'Skeleton',
|
||||
description: 'Skeleton is a placeholder to display instead of the actual content.',
|
||||
props: SkeletonProps
|
||||
}
|
||||
};
|
Loading…
Add table
Add a link
Reference in a new issue