Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F99798551
Skeleton.d.ts
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Subscribers
None
File Metadata
Details
File Info
Storage
Attached
Created
Sun, Jan 26, 16:51
Size
1 KB
Mime Type
text/x-java
Expires
Tue, Jan 28, 16:51 (2 d)
Engine
blob
Format
Raw Data
Handle
23801191
Attached To
rOACCT Open Access Compliance Check Tool (OACCT)
Skeleton.d.ts
View Options
import * as React from 'react';
import { SxProps } from '@mui/system';
import { OverridableStringUnion } from '@mui/types';
import { Theme } from '..';
import { OverridableComponent, OverrideProps } from '../OverridableComponent';
import { SkeletonClasses } from './skeletonClasses';
export interface SkeletonPropsVariantOverrides {}
export interface SkeletonTypeMap<P = {}, D extends React.ElementType = 'span'> {
props: P & {
/**
* The animation.
* If `false` the animation effect is disabled.
* @default 'pulse'
*/
animation?: 'pulse' | 'wave' | false;
/**
* Optional children to infer width and height from.
*/
children?: React.ReactNode;
/**
* Override or extend the styles applied to the component.
*/
classes?: Partial<SkeletonClasses>;
/**
* Height of the skeleton.
* Useful when you don't want to adapt the skeleton to a text element but for instance a card.
*/
height?: number | string;
/**
* The system prop that allows defining system overrides as well as additional CSS styles.
*/
sx?: SxProps<Theme>;
/**
* The type of content that will be rendered.
* @default 'text'
*/
variant?: OverridableStringUnion<
'text' | 'rectangular' | 'rounded' | 'circular',
SkeletonPropsVariantOverrides
>;
/**
* Width of the skeleton.
* Useful when the skeleton is inside an inline element with no width of its own.
*/
width?: number | string;
};
defaultComponent: D;
}
/**
*
* Demos:
*
* - [Skeleton](https://mui.com/material-ui/react-skeleton/)
*
* API:
*
* - [Skeleton API](https://mui.com/material-ui/api/skeleton/)
*/
declare const Skeleton: OverridableComponent<SkeletonTypeMap>;
export type SkeletonProps<
D extends React.ElementType = SkeletonTypeMap['defaultComponent'],
P = {},
> = OverrideProps<SkeletonTypeMap<P, D>, D>;
export default Skeleton;
Event Timeline
Log In to Comment