File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 11import * 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 > ;
Original file line number Diff line number Diff line change 11import * 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 > ;
You can’t perform that action at this time.
0 commit comments