Skip to content

Commit

Permalink
fix: props are not required
Browse files Browse the repository at this point in the history
  • Loading branch information
rfoel committed Jan 28, 2021
1 parent a4d25ad commit 52bc919
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@ const animation = keyframes`
`

type StyledContentLoaderProps = {
backgroundColor: string
foregroundColor: string
isLoading: boolean
backgroundColor?: string
foregroundColor?: string
isLoading?: boolean
} & typeof defaultProps

const defaultProps = {
Expand Down

0 comments on commit 52bc919

Please sign in to comment.