Skip to content

Commit

Permalink
Merge 7c82078 into 9cabf54
Browse files Browse the repository at this point in the history
  • Loading branch information
nicolethoen committed Feb 4, 2019
2 parents 9cabf54 + 7c82078 commit eadd415
Show file tree
Hide file tree
Showing 9 changed files with 19 additions and 21 deletions.
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { FunctionComponent, HTMLProps } from 'react';

export interface AboutMoalBoxHeroProps extends HTMLProps<HTMLImageElement> {}
declare const AboutMoalBoxHero: FunctionComponent<AboutMoalBoxHeroProps>;
export default AboutMoalBoxHero;
export interface AboutModalBoxHeroProps extends HTMLProps<HTMLImageElement> {}
declare const AboutModalBoxHero: FunctionComponent<AboutModalBoxHeroProps>;
export default AboutModalBoxHero;
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { SFC, HTMLProps, ReactNode } from 'react';
import { FunctionComponent, ReactNode } from 'react';
import {
SpaceProps,
ColorProps,
Expand Down Expand Up @@ -75,6 +75,6 @@ export interface StyledBoxProps extends
component?: string
}

declare const StyledBox: SFC<StyledBoxProps>;
declare const StyledBox: FunctionComponent<StyledBoxProps>;

export default StyledBox;
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { SFC, HTMLProps, ReactNode } from 'react';
import { FunctionComponent, ReactNode } from 'react';
import {
SpaceProps,
ColorProps,
Expand Down Expand Up @@ -84,6 +84,6 @@ export interface StyledFlexProps extends
component?: string
}

declare const StyledFlex: SFC<StyledFlexProps>;
declare const StyledFlex: FunctionComponent<StyledFlexProps>;

export default StyledFlex;
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { SFC, HTMLProps, ReactNode } from 'react';
import { FunctionComponent, ReactNode } from 'react';
import {
SpaceProps,
ColorProps,
Expand Down Expand Up @@ -84,6 +84,6 @@ export interface StyledTextProps extends
component?: string
}

declare const StyledText: SFC<StyledTextProps>;
declare const StyledText: FunctionComponent<StyledTextProps>;

export default StyledText;
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { SFC, HTMLProps, ReactNode } from 'react';
import { FunctionComponent, HTMLProps, ReactNode } from 'react';

export interface Space {
xs: number;
Expand Down Expand Up @@ -165,6 +165,6 @@ export interface PatternFlyThemeProviderProps extends HTMLProps<HTMLDivElement>
children: ReactNode;
}

declare const PatternFlyThemeProvider: SFC<PatternFlyThemeProviderProps>;
declare const PatternFlyThemeProvider: FunctionComponent<PatternFlyThemeProviderProps>;

export default PatternFlyThemeProvider;
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
import { SFC, HTMLProps, ReactType, ReactNode } from 'react';
import { FunctionComponent, HTMLProps } from 'react';

export interface TableBodyProps extends HTMLProps<HTMLTableRowElement> {
rowKey?: string;
onRowClick?: Function;
}

declare const TableBody: SFC<TableBodyProps>;
declare const TableBody: FunctionComponent<TableBodyProps>;

export default TableBody;
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
import { SFC, HTMLProps, ReactType, ReactNode } from 'react';
import { ISortBy, IAction, ISeparator } from './Table';
import { FunctionComponent, HTMLProps } from 'react';

export interface HeaderProps extends HTMLProps<HTMLTableRowElement> {
className?: string;
}

declare const Header: SFC<HeaderProps>;
declare const Header: FunctionComponent<HeaderProps>;

export default Header;
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import { SFC, HTMLProps, ReactType, ReactNode } from 'react';
import { OneOf, Omit } from '../../../../react-core/src/typeUtils';
import { FunctionComponent, HTMLProps, ReactNode } from 'react';

export const SortByDirection: {
asc: 'asc',
Expand All @@ -14,6 +13,6 @@ export interface SortColumn extends HTMLProps<HTMLButtonElement> {
sortDirection?: string;
}

declare const Table: SFC<SortColumn>;
declare const Table: FunctionComponent<SortColumn>;

export default Table;
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { SFC, HTMLProps, ReactType, ReactNode } from 'react';
import { FunctionComponent, HTMLProps, ReactNode } from 'react';
import { OneOf, Omit } from '../../../../react-core/src/typeUtils';
import { SortByDirection } from './SortColumn';
import { DropdownPosition, DropdownDirection } from '@patternfly/react-core';
Expand Down Expand Up @@ -62,6 +62,6 @@ export interface TableProps extends Omit<Omit<HTMLProps<HTMLTableElement>, 'onSe
cells: Array<ICell | String>;
}

declare const Table: SFC<TableProps>;
declare const Table: FunctionComponent<TableProps>;

export default Table;

0 comments on commit eadd415

Please sign in to comment.