mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2025-10-16 12:05:41 +00:00
* [react] Use HTMLDialogElement for the dialog node * Actually add the `open` property * This update requires typescript 2.6 * Update dependents of react to also require typescript 2.6
23 lines
1.0 KiB
TypeScript
23 lines
1.0 KiB
TypeScript
// Type definitions for react-content-loader 2.0
|
|
// Project: https://github.com/danilowoz/react-content-loader
|
|
// Definitions by: Alaa Masoud <https://github.com/alaatm>
|
|
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
|
// TypeScript Version: 2.6
|
|
|
|
import * as React from 'react';
|
|
|
|
export interface ContentLoaderProps {
|
|
style?: React.CSSProperties;
|
|
type?: 'facebook' | 'instagram' | 'list' | 'bullet-list' | 'code';
|
|
speed?: number;
|
|
width?: number;
|
|
height?: number;
|
|
primaryColor?: string;
|
|
secondaryColor?: string;
|
|
preserveAspectRatio?: 'none' | 'xMinYMin meet' | 'xMidYMin meet' | 'xMaxYMin meet' | 'xMinYMid meet' | 'xMidYMid meet' | 'xMaxYMid meet' |
|
|
'xMinYMax meet' | 'xMidYMax meet' | 'xMaxYMax meet' | 'xMinYMin slice' | 'xMidYMin slice' | 'xMaxYMin slice' | 'xMinYMid slice' |
|
|
'xMidYMid slice' | 'xMaxYMid slice' | 'xMinYMax slice' | 'xMidYMax slice' | 'xMaxYMax slice';
|
|
className?: string;
|
|
}
|
|
export default class ContentLoader extends React.Component<ContentLoaderProps> { }
|