2023-10-02 10:46:09 +00:00
|
|
|
import BaseStyle from 'primevue/base/style';
|
|
|
|
|
|
|
|
const inlineStyles = {
|
|
|
|
root: { position: 'relative' }
|
|
|
|
};
|
|
|
|
|
|
|
|
const classes = {
|
|
|
|
root: ({ props }) => [
|
|
|
|
'p-skeleton p-component',
|
|
|
|
{
|
|
|
|
'p-skeleton-circle': props.shape === 'circle',
|
2024-04-08 11:18:20 +00:00
|
|
|
'p-skeleton-animation-none': props.animation === 'none'
|
2023-10-02 10:46:09 +00:00
|
|
|
}
|
|
|
|
]
|
|
|
|
};
|
|
|
|
|
|
|
|
export default BaseStyle.extend({
|
|
|
|
name: 'skeleton',
|
|
|
|
classes,
|
|
|
|
inlineStyles
|
|
|
|
});
|