Layouts.d.ts 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637
  1. import * as React from 'react';
  2. export interface ColProps extends React.HTMLProps<HTMLDivElement> {
  3. }
  4. export declare class Col extends React.Component<ColProps> {
  5. el: HTMLDivElement | null;
  6. render(): React.JSX.Element;
  7. }
  8. export interface RowProps extends React.HTMLProps<HTMLDivElement> {
  9. }
  10. export declare class Row extends React.Component<RowProps> {
  11. el: HTMLDivElement | null;
  12. render(): React.JSX.Element;
  13. }
  14. export interface ParallaxProps extends React.HTMLProps<HTMLImageElement> {
  15. }
  16. export declare class Parallax extends React.Component<ParallaxProps> {
  17. render(): React.JSX.Element;
  18. }
  19. export interface DividerProps extends React.HTMLProps<HTMLDivElement> {
  20. }
  21. export declare class Divider extends React.Component<DividerProps> {
  22. render(): React.JSX.Element;
  23. }
  24. export interface OverlayProps extends React.HTMLProps<HTMLDivElement> {
  25. }
  26. export declare class Overlay extends React.Component<OverlayProps> {
  27. state: {
  28. visible: boolean;
  29. };
  30. el: HTMLDivElement | null;
  31. show(): void;
  32. open(): void;
  33. isVisible(): boolean;
  34. hide(): void;
  35. close(): void;
  36. render(): React.JSX.Element | null;
  37. }