remove unused param types
Signed-off-by: Mark Dunphy <markd@spotify.com>
This commit is contained in:
@@ -436,29 +436,6 @@ export type EntityPredicateValue =
|
||||
$contains: EntityPredicateExpression;
|
||||
};
|
||||
|
||||
// @alpha (undocumented)
|
||||
export type FactoryDialogParams = {
|
||||
useOnClick: () => React_2.MouseEventHandler<HTMLLIElement>;
|
||||
useTitle: () => string;
|
||||
icon: React_2.JSX.Element;
|
||||
useIsDisabled?: () => boolean;
|
||||
};
|
||||
|
||||
// @alpha (undocumented)
|
||||
export type FactoryHrefParams =
|
||||
| {
|
||||
useTitle: () => string;
|
||||
icon: React_2.JSX.Element;
|
||||
useHref: () => string;
|
||||
useIsDisabled?: () => boolean;
|
||||
}
|
||||
| {
|
||||
useTitle: () => string;
|
||||
icon: React_2.JSX.Element;
|
||||
href: string;
|
||||
useIsDisabled?: () => boolean;
|
||||
};
|
||||
|
||||
// @alpha
|
||||
export function isOwnerOf(owner: Entity, entity: Entity): boolean;
|
||||
|
||||
|
||||
@@ -24,29 +24,6 @@ import MenuItem, { MenuItemProps } from '@material-ui/core/MenuItem';
|
||||
import ListItemIcon from '@material-ui/core/ListItemIcon';
|
||||
import ListItemText from '@material-ui/core/ListItemText';
|
||||
|
||||
/** @alpha */
|
||||
export type FactoryHrefParams =
|
||||
| {
|
||||
useTitle: () => string;
|
||||
icon: React.JSX.Element;
|
||||
useHref: () => string;
|
||||
useIsDisabled?: () => boolean;
|
||||
}
|
||||
| {
|
||||
useTitle: () => string;
|
||||
icon: React.JSX.Element;
|
||||
href: string;
|
||||
useIsDisabled?: () => boolean;
|
||||
};
|
||||
|
||||
/** @alpha */
|
||||
export type FactoryDialogParams = {
|
||||
useOnClick: () => React.MouseEventHandler<HTMLLIElement>;
|
||||
useTitle: () => string;
|
||||
icon: React.JSX.Element;
|
||||
useIsDisabled?: () => boolean;
|
||||
};
|
||||
|
||||
/** @alpha */
|
||||
export type EntityContextMenuItemParams = {
|
||||
useProps: () => Omit<MenuItemProps, 'onClick'> & {
|
||||
|
||||
@@ -28,7 +28,5 @@ export {
|
||||
EntityContextMenuItemBlueprint,
|
||||
type ContextMenuItemProps,
|
||||
type ContextMenuItemComponent,
|
||||
type FactoryHrefParams,
|
||||
type FactoryDialogParams,
|
||||
type EntityContextMenuItemParams,
|
||||
} from './EntityContextMenuItemBlueprint';
|
||||
|
||||
Reference in New Issue
Block a user