|
|
@@ -15,9 +15,6 @@ import stylesheet, {
|
|
|
import {
|
|
|
NCoreUIKitTheme
|
|
|
} from "../../core/hooks";
|
|
|
-import type {
|
|
|
- INCoreUIKitIconProps
|
|
|
-} from "../../types";
|
|
|
import type ITextProps from "../text/type";
|
|
|
import Loading from "../loading";
|
|
|
import Text from "../text";
|
|
|
@@ -95,7 +92,7 @@ const Button: FC<IButtonProps> = ({
|
|
|
color: currentType.titleColor,
|
|
|
};
|
|
|
|
|
|
- const iconProps: INCoreUIKitIconProps = {
|
|
|
+ const iconProps: NCoreUIKit.IconCallbackProps = {
|
|
|
size: Number(typography[currentSize.fontSize].fontSize),
|
|
|
color: currentType.iconColor
|
|
|
};
|