paradiego
This commit is contained in:
46
node_modules/@mui/material/Popper/Popper.d.ts
generated
vendored
Normal file
46
node_modules/@mui/material/Popper/Popper.d.ts
generated
vendored
Normal file
@@ -0,0 +1,46 @@
|
||||
import { SxProps } from '@mui/system';
|
||||
import * as React from 'react';
|
||||
import { PopperProps as BasePopperProps } from './BasePopper.types';
|
||||
import { Theme } from '../styles';
|
||||
export interface PopperProps extends Omit<BasePopperProps, 'direction'> {
|
||||
/**
|
||||
* The component used for the root node.
|
||||
* Either a string to use a HTML element or a component.
|
||||
*/
|
||||
component?: React.ElementType;
|
||||
/**
|
||||
* The components used for each slot inside the Popper.
|
||||
* Either a string to use a HTML element or a component.
|
||||
*
|
||||
* @deprecated use the `slots` prop instead. This prop will be removed in v7. [How to migrate](/material-ui/migration/migrating-from-deprecated-apis/).
|
||||
* @default {}
|
||||
*/
|
||||
components?: {
|
||||
Root?: React.ElementType;
|
||||
};
|
||||
/**
|
||||
* The props used for each slot inside the Popper.
|
||||
*
|
||||
* @deprecated use the `slotProps` prop instead. This prop will be removed in v7. [How to migrate](/material-ui/migration/migrating-from-deprecated-apis/).
|
||||
* @default {}
|
||||
*/
|
||||
componentsProps?: BasePopperProps['slotProps'];
|
||||
/**
|
||||
* The system prop that allows defining system overrides as well as additional CSS styles.
|
||||
*/
|
||||
sx?: SxProps<Theme>;
|
||||
}
|
||||
/**
|
||||
*
|
||||
* Demos:
|
||||
*
|
||||
* - [Autocomplete](https://mui.com/material-ui/react-autocomplete/)
|
||||
* - [Menu](https://mui.com/material-ui/react-menu/)
|
||||
* - [Popper](https://mui.com/material-ui/react-popper/)
|
||||
*
|
||||
* API:
|
||||
*
|
||||
* - [Popper API](https://mui.com/material-ui/api/popper/)
|
||||
*/
|
||||
declare const Popper: React.ForwardRefExoticComponent<PopperProps & React.RefAttributes<HTMLDivElement>>;
|
||||
export default Popper;
|
||||
Reference in New Issue
Block a user