Skip to content

Commit

Permalink
fix: Make Button label prop type required (#123)
Browse files Browse the repository at this point in the history
As there is `label: PropTypes.string.isRequired`
  • Loading branch information
ftzi authored Sep 30, 2021
1 parent 4ba0202 commit e096d6b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Button.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ import PropTypes from "prop-types";
const COLOR = Platform.OS === "ios" ? "#007ff9" : "#169689";

export interface DialogButtonProps extends TextProps {
label?: ReactNode;
label: ReactNode;
color?: ColorValue;
bold?: boolean;
disabled?: boolean;
Expand Down

0 comments on commit e096d6b

Please sign in to comment.