react-better-html 1.1.221 → 1.1.222

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.mts CHANGED
@@ -976,7 +976,7 @@ type FoldableProps = {
976
976
  renderHeader?: (isOpen: boolean, toggleOpen: () => void) => React.ReactNode;
977
977
  onOpenChange?: (isOpen: boolean) => void;
978
978
  children?: React.ReactNode;
979
- } & DivProps;
979
+ } & OmitProps<DivProps, "ref">;
980
980
  type FoldableRef = {
981
981
  isOpen: boolean;
982
982
  open: () => void;
package/dist/index.d.ts CHANGED
@@ -976,7 +976,7 @@ type FoldableProps = {
976
976
  renderHeader?: (isOpen: boolean, toggleOpen: () => void) => React.ReactNode;
977
977
  onOpenChange?: (isOpen: boolean) => void;
978
978
  children?: React.ReactNode;
979
- } & DivProps;
979
+ } & OmitProps<DivProps, "ref">;
980
980
  type FoldableRef = {
981
981
  isOpen: boolean;
982
982
  open: () => void;