diff --git a/README.md b/README.md index 105e0ffb..0dcb2339 100644 --- a/README.md +++ b/README.md @@ -555,7 +555,7 @@ class CssThemeProvider extends React.PureComponent { `forwardRef`: ```tsx -type Props = { children: React.ReactNode; type: 'submit | 'button' } +type Props = { children: React.ReactNode; type: 'submit' | 'button' } export type Ref = HTMLButtonElement export const FancyButton = React.forwardRef((props, ref) => (