replacing utility-types with native utility types
This commit is contained in:
parent
faa10f17d1
commit
9fb551cfc2
|
@ -1,5 +1,4 @@
|
|||
import { IconType } from "react-icons/lib";
|
||||
import { Omit } from "utility-types";
|
||||
import {
|
||||
ButtonClassNameContract as MSFTButtonClassNameContract,
|
||||
ManagedClasses,
|
||||
|
|
|
@ -2,7 +2,6 @@ import {
|
|||
TabProps as BaseTabProps,
|
||||
TabsManagedClasses as BaseTabsManagedClasses,
|
||||
} from "@microsoft/fast-components-react-base";
|
||||
import { Subtract } from "utility-types";
|
||||
import { IconType } from "react-icons/lib";
|
||||
import { TabClassNameContract as BaseTabClassNameContract } from "@microsoft/fast-components-class-name-contracts-base";
|
||||
import { ManagedClasses } from "@microsoft/fast-jss-manager-react";
|
||||
|
@ -20,7 +19,7 @@ export interface TabClassNameContract extends BaseTabClassNameContract {
|
|||
*/
|
||||
export interface TabProps
|
||||
extends ManagedClasses<TabClassNameContract>,
|
||||
Subtract<BaseTabProps, BaseTabsManagedClasses> {
|
||||
Omit<BaseTabProps, keyof BaseTabsManagedClasses> {
|
||||
/**
|
||||
* Custom icon prepended to the tab title
|
||||
*/
|
||||
|
|
Loading…
Reference in New Issue