@rabex-kit/rabex-ui 0.1.35 → 0.1.36

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.
@@ -14,7 +14,7 @@ export declare type IconButtonProps = IProps;
14
14
  * You can read Material-UI Button Documentation [here](https://mui.com/material-ui/api/icon-button/).
15
15
  *
16
16
  * ```typescript
17
- * import { IconButton } from '@rabex-kit/core';
17
+ * import { IconButton } from '@rabex-kit/rabex-ui';
18
18
  * ```
19
19
  *
20
20
  * @param props
@@ -8,6 +8,9 @@ declare const _default: {
8
8
  }) => {
9
9
  backgroundColor: any;
10
10
  borderRadius?: string | number;
11
+ '& .MuiIconButton': {
12
+ color: string;
13
+ };
11
14
  };
12
15
  };
13
16
  variants: {
@@ -1258,7 +1258,7 @@ var Grid = function Grid(_ref) {
1258
1258
  * You can read Material-UI Button Documentation [here](https://mui.com/material-ui/api/icon-button/).
1259
1259
  *
1260
1260
  * ```typescript
1261
- * import { IconButton } from '@rabex-kit/core';
1261
+ * import { IconButton } from '@rabex-kit/rabex-ui';
1262
1262
  * ```
1263
1263
  *
1264
1264
  * @param props
@@ -3862,7 +3862,11 @@ var RabexIconButton = {
3862
3862
  root: function root(_ref) {
3863
3863
  var ownerState = _ref.ownerState,
3864
3864
  theme = _ref.theme;
3865
- return _extends({}, ownerState.variant === 'circular' && {
3865
+ return _extends({
3866
+ '& .MuiIconButton': {
3867
+ color: 'inherit'
3868
+ }
3869
+ }, ownerState.variant === 'circular' && {
3866
3870
  borderRadius: '50%'
3867
3871
  }, ownerState.variant === 'rounded' && {
3868
3872
  borderRadius: 8