Skip to content

Commit

Permalink
fix: make badge children require
Browse files Browse the repository at this point in the history
  • Loading branch information
weblancaster committed Apr 3, 2018
1 parent 62d6f1b commit 96e1450
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion components/badge/badge.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { badge } from "./style";

export interface IBadgeProps {
theme?: string;
children?: JSX.Element | string;
children: JSX.Element | string;
}

export class Badge extends React.PureComponent<IBadgeProps, {}> {
Expand Down

0 comments on commit 96e1450

Please sign in to comment.