forked from patternfly/patternfly-react
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Issue patternfly#1088 - Rolled back d.ts files for Avatar and compone…
…nts. (patternfly#1093) * Issue patternfly#1088 - Rolled back d.ts files for Avatar and components. * Updated index with page component changes.
- Loading branch information
Showing
4 changed files
with
43 additions
and
2 deletions.
There are no files selected for viewing
9 changes: 9 additions & 0 deletions
9
packages/patternfly-4/react-core/src/components/Avatar/Avatar.d.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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; |
1 change: 1 addition & 0 deletions
1
packages/patternfly-4/react-core/src/components/Avatar/index.d.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
export { default as Avatar, AvatarProps } from './Avatar'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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'; |