diff --git a/README.md b/README.md index f7117587..d7b26ae6 100644 --- a/README.md +++ b/README.md @@ -745,7 +745,10 @@ To use `sx` prop on HTML element, you need to augment the `HTMLAttributes` inter declare global { namespace React { interface HTMLAttributes { - sx?: any; // ⏳ **Coming soon**: We are working on the better typing + sx?: + | React.CSSProperties + | ((theme: Theme) => React.CSSProperties) + | ReadonlyArray React.CSSProperties)>; } } }