You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For components already converted to TypeScript, we can now go ahead and remove the propTypes and defaultProps fields. When doing so, ensure the equivalent props documentation remains (via the Props interface) and that the default values are still set (via function parameter defaults).
Complements #3739.
For components already converted to TypeScript, we can now go ahead and remove the
propTypesanddefaultPropsfields. When doing so, ensure the equivalent props documentation remains (via the Props interface) and that the default values are still set (via function parameter defaults).Alert- Documentation Site: Update Component Props to work with pure TypeScript (remove propTypes) #3695Bubble- Remove propTypes+defaultProps from <Bubble>, <ModalDialog>, and <ModalLayer> #3738Buttonetc. - RemovepropTypes+defaultPropsfrom<Button>, improve typing #3742Chip- Remove propTypes + defaultProps from <Chip>, <Toast>, <FormLabel> and <IconButton> #3789ChipCarousel- Remove propTypes + defaultProps from <ChipCarousel>, <Container>, <FormGroup> and <HyperLink> #3794Container- Remove propTypes + defaultProps from <ChipCarousel>, <Container>, <FormGroup> and <HyperLink> #3794FormLabel- Remove propTypes + defaultProps from <Chip>, <Toast>, <FormLabel> and <IconButton> #3789FormGroup- Remove propTypes + defaultProps from <ChipCarousel>, <Container>, <FormGroup> and <HyperLink> #3794Hyperlink- Remove propTypes + defaultProps from <ChipCarousel>, <Container>, <FormGroup> and <HyperLink> #3794Icon- feat: update Icon to be ts and remove all stuff #4136IconButton- Remove propTypes + defaultProps from <Chip>, <Toast>, <FormLabel> and <IconButton> #3789Card,ChipIcon,ModalDialogHeader- Remove prop-types from all TypeScript components #4221Overlay- Remove prop-types from all TypeScript components #4221Toast- Remove propTypes + defaultProps from <Chip>, <Toast>, <FormLabel> and <IconButton> #3789Tooltip- Remove prop-types from all TypeScript components #4221