diff --git a/types/lib/Placeholder.d.ts b/types/lib/Placeholder.d.ts new file mode 100644 index 000000000..a8cc523cd --- /dev/null +++ b/types/lib/Placeholder.d.ts @@ -0,0 +1,17 @@ +import * as React from 'react'; +import { CSSModule } from './index'; + +export interface PlaceholderProps extends React.HTMLAttributes { + [key: string]: any; + color?: string; + tag?: React.ElementType; + animation?: string; + className?: string; + cssModule?: CSSModule; + size?: string; + widths?: string[]; + innerRef?: React.Ref; +} + +declare class Placeholder extends React.Component {} +export default Placeholder; \ No newline at end of file diff --git a/types/lib/PlaceholderButton.d.ts b/types/lib/PlaceholderButton.d.ts new file mode 100644 index 000000000..6f23e47f2 --- /dev/null +++ b/types/lib/PlaceholderButton.d.ts @@ -0,0 +1,14 @@ +import * as React from 'react'; +import { CSSModule } from './index'; + +export interface PlaceholderButtonProps extends React.HTMLAttributes { + [key: string]: any; + size?: string; + color?: string; + outline?: boolean; + cssModule?: CSSModule; + tag?: React.ElementType; +} + +declare class PlaceholderButton extends React.Component {} +export default PlaceholderButton; \ No newline at end of file