Skip to content

Commit

Permalink
update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
siriwatknp committed Jun 1, 2024
1 parent 37d83dd commit 5cefe50
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -745,7 +745,10 @@ To use `sx` prop on HTML element, you need to augment the `HTMLAttributes` inter
declare global {
namespace React {
interface HTMLAttributes<T> {
sx?: any; // ⏳ **Coming soon**: We are working on the better typing
sx?:
| React.CSSProperties
| ((theme: Theme) => React.CSSProperties)
| ReadonlyArray<React.CSSProperties | ((theme: Theme) => React.CSSProperties)>;
}
}
}
Expand Down

0 comments on commit 5cefe50

Please sign in to comment.