Options
All
  • Public
  • Public/Protected
  • All
Menu

Module view/popups/Popup

Type aliases

Variables

Functions

Type aliases

Props

Props: object

React props for Popup component

Type declaration

  • Optional media?: React.ReactNode

    Icon or image which should be displayed on the left of the popup

  • Optional title?: undefined | string

    Header text of the popup

Variables

Const useStyles

useStyles: function = makeStyles(theme => ({backdrop: {zIndex: theme.zIndex.drawer + 1,color: '#fff',},card: {display: "flex",margin: "10px",},header: {//backgroundColor: theme.palette.primary.main,},content: {wordWrap: "break-word",maxWidth: 500,padding: "0 !important",marginLeft: "10px",},title: {color: theme.palette.text.primary,}}))

CSS style hook for Popup component

Type declaration

    • (props?: any): ClassNameMap<ClassKey>
    • Parameters

      • Optional props: any

      Returns ClassNameMap<ClassKey>

Functions

Const Popup

  • Popup(__namedParameters: object): Element
  • React Component representing big generic popup over the current page. It can be customized by setting its header, media (image on the left) and any content to the right of the media.

    Parameters

    • __namedParameters: object
      • children: undefined | null | string | number | false | true | object | ReactElement<any, string | function | object> | ReactNodeArray | ReactPortal
      • media: undefined | null | string | number | false | true | object | ReactElement<any, string | function | object> | ReactNodeArray | ReactPortal
      • title: undefined | string

    Returns Element

Generated using TypeDoc