1 | import * as React from 'react';
|
2 | export type EventHandlers = Record<string, React.EventHandler<any>>;
|
3 | export type WithOptionalOwnerState<T extends {
|
4 | ownerState: unknown;
|
5 | }> = Omit<T, 'ownerState'> & Partial<Pick<T, 'ownerState'>>;
|
6 | export type SlotComponentProps<TSlotComponent extends React.ElementType, TOverrides, TOwnerState> = (Partial<React.ComponentPropsWithRef<TSlotComponent>> & TOverrides) | ((ownerState: TOwnerState) => Partial<React.ComponentPropsWithRef<TSlotComponent>> & TOverrides);
|
7 |
|
\ | No newline at end of file |