Skip to content

Commit

Permalink
Improve typing for cover prop
Browse files Browse the repository at this point in the history
  • Loading branch information
braposo committed Sep 15, 2019
1 parent 5603c75 commit e438633
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/FullsizePicture.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ type Props = {

type StyledPictureProps = {
center?: boolean;
cover?: string;
cover?: "width" | "height" | "both";
} & PictureProps;

const Wrapper: React.FunctionComponent<{ className?: string }> = cxs("div")({
Expand Down

0 comments on commit e438633

Please sign in to comment.