Skip to content

Commit

Permalink
Composition: Removes extension of "GenericProps" from "GridProps"
Browse files Browse the repository at this point in the history
  • Loading branch information
kettanaito committed Nov 6, 2019
1 parent 41cddff commit ce1ec3e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/components/Composition.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ const CompositionWrapper = styled.div<CompositionProps>`
}
`

const Composition: React.FunctionComponent<CompositionProps> = ({
const Composition: React.FC<CompositionProps> = ({
children,
...restProps
}) => {
Expand Down
2 changes: 1 addition & 1 deletion src/const/props.ts
Original file line number Diff line number Diff line change
Expand Up @@ -216,7 +216,7 @@ export interface GenericProps {
paddingHorizontal?: Numeric
}

export interface GridProps extends GenericProps {
export interface GridProps {
/**
* Grid area.
* @css `grid-area`
Expand Down

0 comments on commit ce1ec3e

Please sign in to comment.