Skip to content

Commit

Permalink
fix(typescript): Export LoginBox and make PageSection props optional (p…
Browse files Browse the repository at this point in the history
  • Loading branch information
jschuler authored and tlabaj committed Nov 5, 2018
1 parent 36cf069 commit 082bb8d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
1 change: 1 addition & 0 deletions packages/patternfly-4/react-core/src/components/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ export * from './Checkbox';
export * from './Dropdown';
export * from './Form';
export * from './List';
export * from './LoginBox';
export * from './Modal';
export * from './Nav';
export * from './Progress';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@ export const PageSectionVariants: {
};

export interface PageSectionProps extends HTMLProps<HTMLDivElement> {
children: ReactNode;
className: string;
variant: OneOf<typeof PageSectionVariants, keyof typeof PageSectionVariants>;
children?: ReactNode;
className?: string;
variant?: OneOf<typeof PageSectionVariants, keyof typeof PageSectionVariants>;
}

declare const PageSection: SFC<PageSectionProps>;
Expand Down

0 comments on commit 082bb8d

Please sign in to comment.