Skip to content

Commit 8a82590

Browse files
committed
Interface export naming clash fixes
1 parent ed53a71 commit 8a82590

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

src/components/Centered.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import * as React from "react";
22

3-
export interface IProps {
3+
export interface ICenteredProps {
44
children?: React.ReactNode;
55
}
66

7-
export const Centered: React.FC<IProps> = (props) => <div className={`spaces-centered`}>{props.children}</div>;
7+
export const Centered: React.FC<ICenteredProps> = (props) => <div className={`spaces-centered`}>{props.children}</div>;
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import * as React from "react";
22

3-
export interface IProps {
3+
export interface ICenteredVerticallyProps {
44
children?: React.ReactNode;
55
}
66

7-
export const CenteredVertically: React.FC<IProps> = (props) => <div className={`spaces-centered-vertically`}>{props.children}</div>;
7+
export const CenteredVertically: React.FC<ICenteredVerticallyProps> = (props) => <div className={`spaces-centered-vertically`}>{props.children}</div>;

0 commit comments

Comments
 (0)