Skip to content

Commit

Permalink
Issue patternfly#1088 - Rolled back d.ts files for Avatar and compone…
Browse files Browse the repository at this point in the history
…nts. (patternfly#1093)

* Issue patternfly#1088 - Rolled back d.ts files for Avatar and components.

* Updated index with page component changes.
  • Loading branch information
dlabaj authored and jschuler committed Dec 19, 2018
1 parent dbc8b06 commit 290786a
Show file tree
Hide file tree
Showing 4 changed files with 43 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
import { SFC, HTMLProps, ReactNode } from 'react';
import { Omit } from '../../typeUtils';

export interface AvatarProps extends HTMLProps<HTMLImageElement> {
src?: string;
alt: string;
}
declare const Avatar: SFC<AvatarProps>;
export default Avatar;
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
export { default as Avatar, AvatarProps } from './Avatar';
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,11 @@ export * from './Dropdown';
export * from './EmptyState';
export * from './Form';
export * from './Label';
export * from './Page';
export * from './List';
export * from './LoginPage';
export * from './Modal';
export * from './Nav';
export * from './Page';
// export * from './Popover'; // Not ready yet
export * from './Progress';
export * from './Radio';
Expand All @@ -28,4 +28,4 @@ export * from './Switch';
export * from './TextArea';
export * from './TextInput';
export * from './Title';
export * from './Text';
export * from './Text';
31 changes: 31 additions & 0 deletions packages/patternfly-4/react-core/src/components/index.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
/** Keep alphabetically sorted */
export * from './AboutModal';
export * from './Alert';
export * from './Avatar';
export * from './Backdrop';
export * from './BackgroundImage';
export * from './Badge';
export * from './Brand';
export * from './Breadcrumb';
export * from './Button';
export * from './Card';
export * from './Checkbox';
export * from './DataList';
export * from './Dropdown';
export * from './EmptyState';
export * from './Form';
export * from './Label';
export * from './List';
export * from './LoginPage';
export * from './Modal';
export * from './Nav';
// export * from './Popover'; // Not ready yet
export * from './Page';
export * from './Progress';
export * from './Radio';
export * from './Select';
export * from './Switch';
export * from './TextArea';
export * from './TextInput';
export * from './Title';
export * from './Text';

0 comments on commit 290786a

Please sign in to comment.