1
0
Fork 0
react-playground/node_modules/@mui/x-internals/slots/index.d.ts
Techognito fc0f69dacb Added Statistics calculation
Statistics now show calculated values
2025-09-04 17:30:00 +02:00

2 lines
No EOL
245 B
TypeScript

import * as React from 'react';
export type PropsFromSlot<Slot extends React.JSXElementConstructor<any> | React.ElementType | null | undefined> = NonNullable<Slot> extends React.ElementType<infer P> ? P : React.ComponentProps<NonNullable<Slot>>;