Drop

Type: React component

An arbitrary container for a drop. This component is generally used in one of the utility components which allow you to specify a "renderDrop" prop (e.g. DropButton or MenuItemWithDrop). It's possible to specify the maxWidth, minWidth and width of this component. When used inside of a positioner component, Drop sets the minWidth to the width of the reference element/point (the element which the positioner component is positioning next to) when positioning above or below this element.

Props

  1. children

    (Required)

    Type: ReactNode

  2. maxWidth

    (Optional)

    Default value

  3. minWidth

    (Optional)

    Default value

  4. width

    (Optional)

    Type: FDS~Width

    Default value