@useloops/design-system 1.4.39 → 1.4.40

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.
Files changed (2) hide show
  1. package/dist/index.d.ts +2 -2
  2. package/package.json +1 -1
package/dist/index.d.ts CHANGED
@@ -215,7 +215,7 @@ interface ButtonProps {
215
215
  href?: string;
216
216
  endIcon?: ReactElement;
217
217
  startIcon?: ReactElement;
218
- children: ReactElement | string;
218
+ children: ButtonBaseProps['children'];
219
219
  onClick?: ButtonBaseProps['onClick'];
220
220
  type?: 'button' | 'submit' | 'reset';
221
221
  }
@@ -364,7 +364,7 @@ interface IconButtonProps {
364
364
  icon: ReactElement;
365
365
  loading?: boolean;
366
366
  edge?: 'start' | 'end' | false;
367
- children?: ReactNode | string;
367
+ children?: StyledIconButtonProps['children'];
368
368
  onClick?: StyledIconButtonProps['onClick'];
369
369
  disabled?: boolean;
370
370
  ref?: React.Ref<HTMLButtonElement>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@useloops/design-system",
3
- "version": "1.4.39",
3
+ "version": "1.4.40",
4
4
  "description": "The official React based Loops design system",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/esm/index.js",