Skip to content

Commit e096d6b

Browse files
authored
fix: Make Button label prop type required (#123)
As there is `label: PropTypes.string.isRequired`
1 parent 4ba0202 commit e096d6b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Button.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ import PropTypes from "prop-types";
1616
const COLOR = Platform.OS === "ios" ? "#007ff9" : "#169689";
1717

1818
export interface DialogButtonProps extends TextProps {
19-
label?: ReactNode;
19+
label: ReactNode;
2020
color?: ColorValue;
2121
bold?: boolean;
2222
disabled?: boolean;

0 commit comments

Comments
 (0)