react-better-html 1.1.208 → 1.1.209

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
@@ -388,7 +388,7 @@ type ChipProps<Value = unknown> = {
388
388
  onClickWithValue?: (value: Value) => void;
389
389
  } & Pick<DivProps, "border" | "borderColor" | "borderWidth" | "borderStyle"> & Pick<TextProps, "fontFamily" | "fontSize" | "fontWeight" | "fontStyle">;
390
390
  type ChipComponentType = {
391
- <Value>(props: ComponentPropWithRef<HTMLDivElement, ChipProps>): React.ReactElement;
391
+ <Value>(props: ComponentPropWithRef<HTMLDivElement, ChipProps<Value>>): React.ReactElement;
392
392
  colored: (props: ComponentPropWithRef<HTMLDivElement, OmitProps<ChipProps, "color" | "backgroundColor"> & {
393
393
  color?: string;
394
394
  }>) => React.ReactElement;
package/dist/index.d.ts CHANGED
@@ -388,7 +388,7 @@ type ChipProps<Value = unknown> = {
388
388
  onClickWithValue?: (value: Value) => void;
389
389
  } & Pick<DivProps, "border" | "borderColor" | "borderWidth" | "borderStyle"> & Pick<TextProps, "fontFamily" | "fontSize" | "fontWeight" | "fontStyle">;
390
390
  type ChipComponentType = {
391
- <Value>(props: ComponentPropWithRef<HTMLDivElement, ChipProps>): React.ReactElement;
391
+ <Value>(props: ComponentPropWithRef<HTMLDivElement, ChipProps<Value>>): React.ReactElement;
392
392
  colored: (props: ComponentPropWithRef<HTMLDivElement, OmitProps<ChipProps, "color" | "backgroundColor"> & {
393
393
  color?: string;
394
394
  }>) => React.ReactElement;