29 lines
968 B
TypeScript
29 lines
968 B
TypeScript
import { SxProps } from '@mui/system';
|
|
import * as React from 'react';
|
|
import { PopperProps as BasePopperProps } from "./BasePopper.types.mjs";
|
|
import { Theme } from "../styles/index.mjs";
|
|
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 | undefined;
|
|
/**
|
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
*/
|
|
sx?: SxProps<Theme> | undefined;
|
|
}
|
|
/**
|
|
*
|
|
* 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; |