com.olvind.mui.muiMaterial.modalModalMod.scala Maven / Gradle / Ivy
The newest version!
package com.olvind.mui.muiMaterial
import com.olvind.mui.muiBase.modalUnstyledModalUnstyledDottypesMod.ModalUnstyledSlots
import com.olvind.mui.muiMaterial.anon.Backdrop
import com.olvind.mui.muiMaterial.anon.BackdropComponent
import com.olvind.mui.muiMaterial.anon.BackdropRoot
import com.olvind.mui.muiMaterial.anon.DefaultComponentPropsModalTypeMapdiv
import com.olvind.mui.muiMaterial.anon.OmitModalUnstyledTypeMapdivpropsslotProp
import com.olvind.mui.muiMaterial.anon.PartialBackdropPropsBackdropTypeMapdivde
import com.olvind.mui.muiMaterial.anon.PartialModalUnstyledClasses
import com.olvind.mui.muiMaterial.stylesCreateThemeMod.Theme
import com.olvind.mui.muiSystem.styleFunctionSxStyleFunctionSxMod.SxProps
import com.olvind.mui.muiSystem.styleFunctionSxStyleFunctionSxMod.SystemStyleObject
import com.olvind.mui.muiTypes.mod.OverrideProps
import com.olvind.mui.react.anon.Html
import com.olvind.mui.react.mod.AnimationEventHandler
import com.olvind.mui.react.mod.AriaRole
import com.olvind.mui.react.mod.Booleanish
import com.olvind.mui.react.mod.CSSProperties
import com.olvind.mui.react.mod.ClipboardEventHandler
import com.olvind.mui.react.mod.CompositionEventHandler
import com.olvind.mui.react.mod.DragEvent
import com.olvind.mui.react.mod.DragEventHandler
import com.olvind.mui.react.mod.FocusEventHandler
import com.olvind.mui.react.mod.FormEventHandler
import com.olvind.mui.react.mod.Key
import com.olvind.mui.react.mod.KeyboardEventHandler
import com.olvind.mui.react.mod.LegacyRef
import com.olvind.mui.react.mod.MouseEventHandler
import com.olvind.mui.react.mod.PointerEventHandler
import com.olvind.mui.react.mod.ReactEventHandler
import com.olvind.mui.react.mod.TouchEventHandler
import com.olvind.mui.react.mod.TransitionEventHandler
import com.olvind.mui.react.mod.UIEventHandler
import com.olvind.mui.react.mod.WheelEventHandler
import com.olvind.mui.react.mod.global.JSX.Element
import com.olvind.mui.std.Record
import org.scalablytyped.runtime.Shortcut
import org.scalajs.dom.Event
import org.scalajs.dom.EventTarget
import org.scalajs.dom.HTMLDivElement
import slinky.core.ReactComponentClass
import slinky.core.SyntheticEvent
import slinky.core.facade.ReactElement
import slinky.core.facade.ReactRef
import slinky.web.SyntheticAnimationEvent
import slinky.web.SyntheticClipboardEvent
import slinky.web.SyntheticCompositionEvent
import slinky.web.SyntheticFocusEvent
import slinky.web.SyntheticKeyboardEvent
import slinky.web.SyntheticMouseEvent
import slinky.web.SyntheticPointerEvent
import slinky.web.SyntheticTouchEvent
import slinky.web.SyntheticTransitionEvent
import slinky.web.SyntheticUIEvent
import slinky.web.SyntheticWheelEvent
import org.scalablytyped.runtime.StObject
import scala.scalajs.js
import scala.scalajs.js.annotation.{JSGlobalScope, JSGlobal, JSImport, JSName, JSBracketAccess}
object modalModalMod extends Shortcut {
/**
* Modal is a lower-level construct that is leveraged by the following components:
*
* * [Dialog](https://mui.com/material-ui/api/dialog/)
* * [Drawer](https://mui.com/material-ui/api/drawer/)
* * [Menu](https://mui.com/material-ui/api/menu/)
* * [Popover](https://mui.com/material-ui/api/popover/)
*
* If you are creating a modal dialog, you probably want to use the [Dialog](https://mui.com/material-ui/api/dialog/) component
* rather than directly using Modal.
*
* This component shares many concepts with [react-overlays](https://react-bootstrap.github.io/react-overlays/#modals).
*
* Demos:
*
* - [Modal](https://mui.com/material-ui/react-modal/)
*
* API:
*
* - [Modal API](https://mui.com/material-ui/api/modal/)
*/
@JSImport("@mui/material/Modal/Modal", JSImport.Default)
@js.native
val default: js.Function1[/* props */ DefaultComponentPropsModalTypeMapdiv, Element] = js.native
@JSImport("@mui/material/Modal/Modal", "ModalRoot")
@js.native
val ModalRoot: ReactComponentClass[ModalRootProps] = js.native
@JSImport("@mui/material/Modal/Modal", "modalClasses")
@js.native
val modalClasses: ModalClasses_ = js.native
type ModalClassKey = /* keyof std.NonNullable<@mui/material.anon.PartialModalUnstyledClasses | undefined> */ String
type ModalClasses_ = Record[ModalClassKey, String]
trait ModalComponentsPropsOverrides extends StObject
/* Inlined parent @mui/material.@mui/material/Modal/Modal.ModalProps<@mui/material.@mui/material/Modal/Modal.ModalTypeMap<'div', {}>['defaultComponent'], {}> */
trait ModalOwnerState extends StObject {
/**
* A backdrop component. This prop enables custom backdrop rendering.
* @deprecated Use `slots.backdrop` instead. While this prop currently works, it will be removed in the next major version.
* Use the `slots.backdrop` prop to make your application ready for the next version of Material UI.
* @default styled(Backdrop, {
* name: 'MuiModal',
* slot: 'Backdrop',
* overridesResolver: (props, styles) => {
* return styles.backdrop;
* },
* })({
* zIndex: -1,
* })
*/
var BackdropComponent: js.UndefOr[ReactElement] = js.undefined
/**
* Props applied to the [`Backdrop`](/material-ui/api/backdrop/) element.
* @deprecated Use `slotProps.backdrop` instead.
*/
var BackdropProps: js.UndefOr[PartialBackdropPropsBackdropTypeMapdivde] = js.undefined
var about: js.UndefOr[String] = js.undefined
var accessKey: js.UndefOr[String] = js.undefined
var `aria-activedescendant`: js.UndefOr[String] = js.undefined
var `aria-atomic`: js.UndefOr[Booleanish] = js.undefined
var `aria-autocomplete`: js.UndefOr["none" | "inline" | "list" | "both"] = js.undefined
var `aria-busy`: js.UndefOr[Booleanish] = js.undefined
var `aria-checked`: js.UndefOr[Boolean | "mixed"] = js.undefined
var `aria-colcount`: js.UndefOr[Double] = js.undefined
var `aria-colindex`: js.UndefOr[Double] = js.undefined
var `aria-colspan`: js.UndefOr[Double] = js.undefined
var `aria-controls`: js.UndefOr[String] = js.undefined
var `aria-current`: js.UndefOr[Boolean | "page" | "step" | "location" | "date" | "time"] = js.undefined
var `aria-describedby`: js.UndefOr[String] = js.undefined
var `aria-details`: js.UndefOr[String] = js.undefined
var `aria-disabled`: js.UndefOr[Booleanish] = js.undefined
var `aria-dropeffect`: js.UndefOr["none" | "copy" | "execute" | "link" | "move" | "popup"] = js.undefined
var `aria-errormessage`: js.UndefOr[String] = js.undefined
var `aria-expanded`: js.UndefOr[Booleanish] = js.undefined
var `aria-flowto`: js.UndefOr[String] = js.undefined
var `aria-grabbed`: js.UndefOr[Booleanish] = js.undefined
var `aria-haspopup`: js.UndefOr[Boolean | "menu" | "listbox" | "tree" | "grid" | "dialog"] = js.undefined
var `aria-hidden`: js.UndefOr[Booleanish] = js.undefined
var `aria-invalid`: js.UndefOr[Boolean | "grammar" | "spelling"] = js.undefined
var `aria-keyshortcuts`: js.UndefOr[String] = js.undefined
var `aria-label`: js.UndefOr[String] = js.undefined
var `aria-labelledby`: js.UndefOr[String] = js.undefined
var `aria-level`: js.UndefOr[Double] = js.undefined
var `aria-live`: js.UndefOr["off" | "assertive" | "polite"] = js.undefined
var `aria-modal`: js.UndefOr[Booleanish] = js.undefined
var `aria-multiline`: js.UndefOr[Booleanish] = js.undefined
var `aria-multiselectable`: js.UndefOr[Booleanish] = js.undefined
var `aria-orientation`: js.UndefOr["horizontal" | "vertical"] = js.undefined
var `aria-owns`: js.UndefOr[String] = js.undefined
var `aria-placeholder`: js.UndefOr[String] = js.undefined
var `aria-posinset`: js.UndefOr[Double] = js.undefined
var `aria-pressed`: js.UndefOr[Boolean | "mixed"] = js.undefined
var `aria-readonly`: js.UndefOr[Booleanish] = js.undefined
var `aria-relevant`: js.UndefOr[
"additions" | ("additions removals") | ("additions text") | "all" | "removals" | ("removals additions") | ("removals text") | "text" | ("text additions") | ("text removals")
] = js.undefined
var `aria-required`: js.UndefOr[Booleanish] = js.undefined
var `aria-roledescription`: js.UndefOr[String] = js.undefined
var `aria-rowcount`: js.UndefOr[Double] = js.undefined
var `aria-rowindex`: js.UndefOr[Double] = js.undefined
var `aria-rowspan`: js.UndefOr[Double] = js.undefined
var `aria-selected`: js.UndefOr[Booleanish] = js.undefined
var `aria-setsize`: js.UndefOr[Double] = js.undefined
var `aria-sort`: js.UndefOr["none" | "ascending" | "descending" | "other"] = js.undefined
var `aria-valuemax`: js.UndefOr[Double] = js.undefined
var `aria-valuemin`: js.UndefOr[Double] = js.undefined
var `aria-valuenow`: js.UndefOr[Double] = js.undefined
var `aria-valuetext`: js.UndefOr[String] = js.undefined
var autoCapitalize: js.UndefOr[String] = js.undefined
var autoCorrect: js.UndefOr[String] = js.undefined
var autoFocus: js.UndefOr[Boolean] = js.undefined
var autoSave: js.UndefOr[String] = js.undefined
var children: ReactElement
/**
* @ignore
*/
var className: js.UndefOr[String] = js.undefined
/**
* Override or extend the styles applied to the component.
*/
var classes: js.UndefOr[PartialModalUnstyledClasses] = js.undefined
var closeAfterTransition: js.UndefOr[Boolean] = js.undefined
var color: js.UndefOr[String] = js.undefined
/**
* The components used for each slot inside.
*
* This prop is an alias for the `slots` prop.
* It's recommended to use the `slots` prop instead.
*
* @default {}
*/
var components: js.UndefOr[BackdropRoot] = js.undefined
/**
* The extra props for the slot components.
* You can override the existing props or add new ones.
*
* This prop is an alias for the `slotProps` prop.
* It's recommended to use the `slotProps` prop instead, as `componentsProps` will be deprecated in the future.
*
* @default {}
*/
var componentsProps: js.UndefOr[Backdrop] = js.undefined
var container: js.UndefOr[org.scalajs.dom.Element | (js.Function0[org.scalajs.dom.Element | Null]) | Null] = js.undefined
var content: js.UndefOr[String] = js.undefined
var contentEditable: js.UndefOr[Booleanish | "inherit"] = js.undefined
var contextMenu: js.UndefOr[String] = js.undefined
var dangerouslySetInnerHTML: js.UndefOr[Html] = js.undefined
var datatype: js.UndefOr[String] = js.undefined
var defaultChecked: js.UndefOr[Boolean] = js.undefined
var defaultValue: js.UndefOr[String | Double | js.Array[String]] = js.undefined
var dir: js.UndefOr[String] = js.undefined
var disableAutoFocus: js.UndefOr[Boolean] = js.undefined
var disableEnforceFocus: js.UndefOr[Boolean] = js.undefined
var disableEscapeKeyDown: js.UndefOr[Boolean] = js.undefined
var disablePortal: js.UndefOr[Boolean] = js.undefined
var disableRestoreFocus: js.UndefOr[Boolean] = js.undefined
var disableScrollLock: js.UndefOr[Boolean] = js.undefined
var draggable: js.UndefOr[Booleanish] = js.undefined
var exited: Boolean
var hidden: js.UndefOr[Boolean] = js.undefined
var hideBackdrop: js.UndefOr[Boolean] = js.undefined
var id: js.UndefOr[String] = js.undefined
var inlist: js.UndefOr[Any] = js.undefined
var inputMode: js.UndefOr["none" | "text" | "tel" | "url" | "email" | "numeric" | "decimal" | "search"] = js.undefined
var is: js.UndefOr[String] = js.undefined
var itemID: js.UndefOr[String] = js.undefined
var itemProp: js.UndefOr[String] = js.undefined
var itemRef: js.UndefOr[String] = js.undefined
var itemScope: js.UndefOr[Boolean] = js.undefined
var itemType: js.UndefOr[String] = js.undefined
var keepMounted: js.UndefOr[Boolean] = js.undefined
var key: js.UndefOr[Key | Null] = js.undefined
var lang: js.UndefOr[String] = js.undefined
var nonce: js.UndefOr[String] = js.undefined
var onAbort: js.UndefOr[ReactEventHandler[HTMLDivElement]] = js.undefined
var onAnimationEnd: js.UndefOr[AnimationEventHandler[HTMLDivElement]] = js.undefined
var onAnimationIteration: js.UndefOr[AnimationEventHandler[HTMLDivElement]] = js.undefined
var onAnimationStart: js.UndefOr[AnimationEventHandler[HTMLDivElement]] = js.undefined
var onAuxClick: js.UndefOr[MouseEventHandler[HTMLDivElement]] = js.undefined
var onBackdropClick: js.UndefOr[ReactEventHandler[js.Object]] = js.undefined
var onBeforeInput: js.UndefOr[FormEventHandler[HTMLDivElement]] = js.undefined
var onBlur: js.UndefOr[FocusEventHandler[HTMLDivElement]] = js.undefined
var onCanPlay: js.UndefOr[ReactEventHandler[HTMLDivElement]] = js.undefined
var onCanPlayThrough: js.UndefOr[ReactEventHandler[HTMLDivElement]] = js.undefined
var onChange: js.UndefOr[FormEventHandler[HTMLDivElement]] = js.undefined
var onClick: js.UndefOr[MouseEventHandler[HTMLDivElement]] = js.undefined
var onClose: js.UndefOr[
js.Function2[/* event */ js.Object, /* reason */ "backdropClick" | "escapeKeyDown", Unit]
] = js.undefined
var onCompositionEnd: js.UndefOr[CompositionEventHandler[HTMLDivElement]] = js.undefined
var onCompositionStart: js.UndefOr[CompositionEventHandler[HTMLDivElement]] = js.undefined
var onCompositionUpdate: js.UndefOr[CompositionEventHandler[HTMLDivElement]] = js.undefined
var onContextMenu: js.UndefOr[MouseEventHandler[HTMLDivElement]] = js.undefined
var onCopy: js.UndefOr[ClipboardEventHandler[HTMLDivElement]] = js.undefined
var onCut: js.UndefOr[ClipboardEventHandler[HTMLDivElement]] = js.undefined
var onDoubleClick: js.UndefOr[MouseEventHandler[HTMLDivElement]] = js.undefined
var onDrag: js.UndefOr[DragEventHandler[HTMLDivElement]] = js.undefined
var onDragEnd: js.UndefOr[DragEventHandler[HTMLDivElement]] = js.undefined
var onDragEnter: js.UndefOr[DragEventHandler[HTMLDivElement]] = js.undefined
var onDragExit: js.UndefOr[DragEventHandler[HTMLDivElement]] = js.undefined
var onDragLeave: js.UndefOr[DragEventHandler[HTMLDivElement]] = js.undefined
var onDragOver: js.UndefOr[DragEventHandler[HTMLDivElement]] = js.undefined
var onDragStart: js.UndefOr[DragEventHandler[HTMLDivElement]] = js.undefined
var onDrop: js.UndefOr[DragEventHandler[HTMLDivElement]] = js.undefined
var onDurationChange: js.UndefOr[ReactEventHandler[HTMLDivElement]] = js.undefined
var onEmptied: js.UndefOr[ReactEventHandler[HTMLDivElement]] = js.undefined
var onEncrypted: js.UndefOr[ReactEventHandler[HTMLDivElement]] = js.undefined
var onEnded: js.UndefOr[ReactEventHandler[HTMLDivElement]] = js.undefined
var onError: js.UndefOr[ReactEventHandler[HTMLDivElement]] = js.undefined
var onFocus: js.UndefOr[FocusEventHandler[HTMLDivElement]] = js.undefined
var onInput: js.UndefOr[FormEventHandler[HTMLDivElement]] = js.undefined
var onInvalid: js.UndefOr[FormEventHandler[HTMLDivElement]] = js.undefined
var onKeyDown: js.UndefOr[KeyboardEventHandler[HTMLDivElement]] = js.undefined
var onKeyPress: js.UndefOr[KeyboardEventHandler[HTMLDivElement]] = js.undefined
var onKeyUp: js.UndefOr[KeyboardEventHandler[HTMLDivElement]] = js.undefined
var onLoad: js.UndefOr[ReactEventHandler[HTMLDivElement]] = js.undefined
var onLoadStart: js.UndefOr[ReactEventHandler[HTMLDivElement]] = js.undefined
var onLoadedData: js.UndefOr[ReactEventHandler[HTMLDivElement]] = js.undefined
var onLoadedMetadata: js.UndefOr[ReactEventHandler[HTMLDivElement]] = js.undefined
var onMouseDown: js.UndefOr[MouseEventHandler[HTMLDivElement]] = js.undefined
var onMouseEnter: js.UndefOr[MouseEventHandler[HTMLDivElement]] = js.undefined
var onMouseLeave: js.UndefOr[MouseEventHandler[HTMLDivElement]] = js.undefined
var onMouseMove: js.UndefOr[MouseEventHandler[HTMLDivElement]] = js.undefined
var onMouseOut: js.UndefOr[MouseEventHandler[HTMLDivElement]] = js.undefined
var onMouseOver: js.UndefOr[MouseEventHandler[HTMLDivElement]] = js.undefined
var onMouseUp: js.UndefOr[MouseEventHandler[HTMLDivElement]] = js.undefined
var onPaste: js.UndefOr[ClipboardEventHandler[HTMLDivElement]] = js.undefined
var onPause: js.UndefOr[ReactEventHandler[HTMLDivElement]] = js.undefined
var onPlay: js.UndefOr[ReactEventHandler[HTMLDivElement]] = js.undefined
var onPlaying: js.UndefOr[ReactEventHandler[HTMLDivElement]] = js.undefined
var onPointerCancel: js.UndefOr[PointerEventHandler[HTMLDivElement]] = js.undefined
var onPointerDown: js.UndefOr[PointerEventHandler[HTMLDivElement]] = js.undefined
var onPointerEnter: js.UndefOr[PointerEventHandler[HTMLDivElement]] = js.undefined
var onPointerLeave: js.UndefOr[PointerEventHandler[HTMLDivElement]] = js.undefined
var onPointerMove: js.UndefOr[PointerEventHandler[HTMLDivElement]] = js.undefined
var onPointerOut: js.UndefOr[PointerEventHandler[HTMLDivElement]] = js.undefined
var onPointerOver: js.UndefOr[PointerEventHandler[HTMLDivElement]] = js.undefined
var onPointerUp: js.UndefOr[PointerEventHandler[HTMLDivElement]] = js.undefined
var onProgress: js.UndefOr[ReactEventHandler[HTMLDivElement]] = js.undefined
var onRateChange: js.UndefOr[ReactEventHandler[HTMLDivElement]] = js.undefined
var onReset: js.UndefOr[FormEventHandler[HTMLDivElement]] = js.undefined
var onResize: js.UndefOr[ReactEventHandler[HTMLDivElement]] = js.undefined
var onScroll: js.UndefOr[UIEventHandler[HTMLDivElement]] = js.undefined
var onSeeked: js.UndefOr[ReactEventHandler[HTMLDivElement]] = js.undefined
var onSeeking: js.UndefOr[ReactEventHandler[HTMLDivElement]] = js.undefined
var onSelect: js.UndefOr[ReactEventHandler[HTMLDivElement]] = js.undefined
var onStalled: js.UndefOr[ReactEventHandler[HTMLDivElement]] = js.undefined
var onSubmit: js.UndefOr[FormEventHandler[HTMLDivElement]] = js.undefined
var onSuspend: js.UndefOr[ReactEventHandler[HTMLDivElement]] = js.undefined
var onTimeUpdate: js.UndefOr[ReactEventHandler[HTMLDivElement]] = js.undefined
var onTouchCancel: js.UndefOr[TouchEventHandler[HTMLDivElement]] = js.undefined
var onTouchEnd: js.UndefOr[TouchEventHandler[HTMLDivElement]] = js.undefined
var onTouchMove: js.UndefOr[TouchEventHandler[HTMLDivElement]] = js.undefined
var onTouchStart: js.UndefOr[TouchEventHandler[HTMLDivElement]] = js.undefined
var onTransitionEnd: js.UndefOr[TransitionEventHandler[HTMLDivElement]] = js.undefined
var onVolumeChange: js.UndefOr[ReactEventHandler[HTMLDivElement]] = js.undefined
var onWaiting: js.UndefOr[ReactEventHandler[HTMLDivElement]] = js.undefined
var onWheel: js.UndefOr[WheelEventHandler[HTMLDivElement]] = js.undefined
var open: Boolean
var placeholder: js.UndefOr[String] = js.undefined
var prefix: js.UndefOr[String] = js.undefined
var property: js.UndefOr[String] = js.undefined
var radioGroup: js.UndefOr[String] = js.undefined
var ref: js.UndefOr[LegacyRef[HTMLDivElement]] = js.undefined
var rel: js.UndefOr[String] = js.undefined
var resource: js.UndefOr[String] = js.undefined
var results: js.UndefOr[Double] = js.undefined
var rev: js.UndefOr[String] = js.undefined
var role: js.UndefOr[AriaRole] = js.undefined
var security: js.UndefOr[String] = js.undefined
var slot: js.UndefOr[String] = js.undefined
/**
* The props used for each slot inside the Modal.
* @default {}
*/
var slotProps: js.UndefOr[Backdrop] = js.undefined
var slots: js.UndefOr[ModalUnstyledSlots] = js.undefined
var spellCheck: js.UndefOr[Booleanish] = js.undefined
var style: js.UndefOr[CSSProperties] = js.undefined
var suppressContentEditableWarning: js.UndefOr[Boolean] = js.undefined
var suppressHydrationWarning: js.UndefOr[Boolean] = js.undefined
/**
* The system prop that allows defining system overrides as well as additional CSS styles.
*/
var sx: js.UndefOr[SxProps[Theme]] = js.undefined
var tabIndex: js.UndefOr[Double] = js.undefined
var title: js.UndefOr[String] = js.undefined
var translate: js.UndefOr["yes" | "no"] = js.undefined
var typeof: js.UndefOr[String] = js.undefined
var unselectable: js.UndefOr["on" | "off"] = js.undefined
var vocab: js.UndefOr[String] = js.undefined
}
object ModalOwnerState {
inline def apply(children: ReactElement, exited: Boolean, open: Boolean): ModalOwnerState = {
val __obj = js.Dynamic.literal(children = children.asInstanceOf[js.Any], exited = exited.asInstanceOf[js.Any], open = open.asInstanceOf[js.Any])
__obj.asInstanceOf[ModalOwnerState]
}
@scala.inline
implicit open class MutableBuilder[Self <: ModalOwnerState] (val x: Self) extends AnyVal {
inline def setAbout(value: String): Self = StObject.set(x, "about", value.asInstanceOf[js.Any])
inline def setAboutUndefined: Self = StObject.set(x, "about", js.undefined)
inline def setAccessKey(value: String): Self = StObject.set(x, "accessKey", value.asInstanceOf[js.Any])
inline def setAccessKeyUndefined: Self = StObject.set(x, "accessKey", js.undefined)
inline def `setAria-activedescendant`(value: String): Self = StObject.set(x, "aria-activedescendant", value.asInstanceOf[js.Any])
inline def `setAria-activedescendantUndefined`: Self = StObject.set(x, "aria-activedescendant", js.undefined)
inline def `setAria-atomic`(value: Booleanish): Self = StObject.set(x, "aria-atomic", value.asInstanceOf[js.Any])
inline def `setAria-atomicUndefined`: Self = StObject.set(x, "aria-atomic", js.undefined)
inline def `setAria-autocomplete`(value: "none" | "inline" | "list" | "both"): Self = StObject.set(x, "aria-autocomplete", value.asInstanceOf[js.Any])
inline def `setAria-autocompleteUndefined`: Self = StObject.set(x, "aria-autocomplete", js.undefined)
inline def `setAria-busy`(value: Booleanish): Self = StObject.set(x, "aria-busy", value.asInstanceOf[js.Any])
inline def `setAria-busyUndefined`: Self = StObject.set(x, "aria-busy", js.undefined)
inline def `setAria-checked`(value: Boolean | "mixed"): Self = StObject.set(x, "aria-checked", value.asInstanceOf[js.Any])
inline def `setAria-checkedUndefined`: Self = StObject.set(x, "aria-checked", js.undefined)
inline def `setAria-colcount`(value: Double): Self = StObject.set(x, "aria-colcount", value.asInstanceOf[js.Any])
inline def `setAria-colcountUndefined`: Self = StObject.set(x, "aria-colcount", js.undefined)
inline def `setAria-colindex`(value: Double): Self = StObject.set(x, "aria-colindex", value.asInstanceOf[js.Any])
inline def `setAria-colindexUndefined`: Self = StObject.set(x, "aria-colindex", js.undefined)
inline def `setAria-colspan`(value: Double): Self = StObject.set(x, "aria-colspan", value.asInstanceOf[js.Any])
inline def `setAria-colspanUndefined`: Self = StObject.set(x, "aria-colspan", js.undefined)
inline def `setAria-controls`(value: String): Self = StObject.set(x, "aria-controls", value.asInstanceOf[js.Any])
inline def `setAria-controlsUndefined`: Self = StObject.set(x, "aria-controls", js.undefined)
inline def `setAria-current`(value: Boolean | "page" | "step" | "location" | "date" | "time"): Self = StObject.set(x, "aria-current", value.asInstanceOf[js.Any])
inline def `setAria-currentUndefined`: Self = StObject.set(x, "aria-current", js.undefined)
inline def `setAria-describedby`(value: String): Self = StObject.set(x, "aria-describedby", value.asInstanceOf[js.Any])
inline def `setAria-describedbyUndefined`: Self = StObject.set(x, "aria-describedby", js.undefined)
inline def `setAria-details`(value: String): Self = StObject.set(x, "aria-details", value.asInstanceOf[js.Any])
inline def `setAria-detailsUndefined`: Self = StObject.set(x, "aria-details", js.undefined)
inline def `setAria-disabled`(value: Booleanish): Self = StObject.set(x, "aria-disabled", value.asInstanceOf[js.Any])
inline def `setAria-disabledUndefined`: Self = StObject.set(x, "aria-disabled", js.undefined)
inline def `setAria-dropeffect`(value: "none" | "copy" | "execute" | "link" | "move" | "popup"): Self = StObject.set(x, "aria-dropeffect", value.asInstanceOf[js.Any])
inline def `setAria-dropeffectUndefined`: Self = StObject.set(x, "aria-dropeffect", js.undefined)
inline def `setAria-errormessage`(value: String): Self = StObject.set(x, "aria-errormessage", value.asInstanceOf[js.Any])
inline def `setAria-errormessageUndefined`: Self = StObject.set(x, "aria-errormessage", js.undefined)
inline def `setAria-expanded`(value: Booleanish): Self = StObject.set(x, "aria-expanded", value.asInstanceOf[js.Any])
inline def `setAria-expandedUndefined`: Self = StObject.set(x, "aria-expanded", js.undefined)
inline def `setAria-flowto`(value: String): Self = StObject.set(x, "aria-flowto", value.asInstanceOf[js.Any])
inline def `setAria-flowtoUndefined`: Self = StObject.set(x, "aria-flowto", js.undefined)
inline def `setAria-grabbed`(value: Booleanish): Self = StObject.set(x, "aria-grabbed", value.asInstanceOf[js.Any])
inline def `setAria-grabbedUndefined`: Self = StObject.set(x, "aria-grabbed", js.undefined)
inline def `setAria-haspopup`(value: Boolean | "menu" | "listbox" | "tree" | "grid" | "dialog"): Self = StObject.set(x, "aria-haspopup", value.asInstanceOf[js.Any])
inline def `setAria-haspopupUndefined`: Self = StObject.set(x, "aria-haspopup", js.undefined)
inline def `setAria-hidden`(value: Booleanish): Self = StObject.set(x, "aria-hidden", value.asInstanceOf[js.Any])
inline def `setAria-hiddenUndefined`: Self = StObject.set(x, "aria-hidden", js.undefined)
inline def `setAria-invalid`(value: Boolean | "grammar" | "spelling"): Self = StObject.set(x, "aria-invalid", value.asInstanceOf[js.Any])
inline def `setAria-invalidUndefined`: Self = StObject.set(x, "aria-invalid", js.undefined)
inline def `setAria-keyshortcuts`(value: String): Self = StObject.set(x, "aria-keyshortcuts", value.asInstanceOf[js.Any])
inline def `setAria-keyshortcutsUndefined`: Self = StObject.set(x, "aria-keyshortcuts", js.undefined)
inline def `setAria-label`(value: String): Self = StObject.set(x, "aria-label", value.asInstanceOf[js.Any])
inline def `setAria-labelUndefined`: Self = StObject.set(x, "aria-label", js.undefined)
inline def `setAria-labelledby`(value: String): Self = StObject.set(x, "aria-labelledby", value.asInstanceOf[js.Any])
inline def `setAria-labelledbyUndefined`: Self = StObject.set(x, "aria-labelledby", js.undefined)
inline def `setAria-level`(value: Double): Self = StObject.set(x, "aria-level", value.asInstanceOf[js.Any])
inline def `setAria-levelUndefined`: Self = StObject.set(x, "aria-level", js.undefined)
inline def `setAria-live`(value: "off" | "assertive" | "polite"): Self = StObject.set(x, "aria-live", value.asInstanceOf[js.Any])
inline def `setAria-liveUndefined`: Self = StObject.set(x, "aria-live", js.undefined)
inline def `setAria-modal`(value: Booleanish): Self = StObject.set(x, "aria-modal", value.asInstanceOf[js.Any])
inline def `setAria-modalUndefined`: Self = StObject.set(x, "aria-modal", js.undefined)
inline def `setAria-multiline`(value: Booleanish): Self = StObject.set(x, "aria-multiline", value.asInstanceOf[js.Any])
inline def `setAria-multilineUndefined`: Self = StObject.set(x, "aria-multiline", js.undefined)
inline def `setAria-multiselectable`(value: Booleanish): Self = StObject.set(x, "aria-multiselectable", value.asInstanceOf[js.Any])
inline def `setAria-multiselectableUndefined`: Self = StObject.set(x, "aria-multiselectable", js.undefined)
inline def `setAria-orientation`(value: "horizontal" | "vertical"): Self = StObject.set(x, "aria-orientation", value.asInstanceOf[js.Any])
inline def `setAria-orientationUndefined`: Self = StObject.set(x, "aria-orientation", js.undefined)
inline def `setAria-owns`(value: String): Self = StObject.set(x, "aria-owns", value.asInstanceOf[js.Any])
inline def `setAria-ownsUndefined`: Self = StObject.set(x, "aria-owns", js.undefined)
inline def `setAria-placeholder`(value: String): Self = StObject.set(x, "aria-placeholder", value.asInstanceOf[js.Any])
inline def `setAria-placeholderUndefined`: Self = StObject.set(x, "aria-placeholder", js.undefined)
inline def `setAria-posinset`(value: Double): Self = StObject.set(x, "aria-posinset", value.asInstanceOf[js.Any])
inline def `setAria-posinsetUndefined`: Self = StObject.set(x, "aria-posinset", js.undefined)
inline def `setAria-pressed`(value: Boolean | "mixed"): Self = StObject.set(x, "aria-pressed", value.asInstanceOf[js.Any])
inline def `setAria-pressedUndefined`: Self = StObject.set(x, "aria-pressed", js.undefined)
inline def `setAria-readonly`(value: Booleanish): Self = StObject.set(x, "aria-readonly", value.asInstanceOf[js.Any])
inline def `setAria-readonlyUndefined`: Self = StObject.set(x, "aria-readonly", js.undefined)
inline def `setAria-relevant`(
value: "additions" | ("additions removals") | ("additions text") | "all" | "removals" | ("removals additions") | ("removals text") | "text" | ("text additions") | ("text removals")
): Self = StObject.set(x, "aria-relevant", value.asInstanceOf[js.Any])
inline def `setAria-relevantUndefined`: Self = StObject.set(x, "aria-relevant", js.undefined)
inline def `setAria-required`(value: Booleanish): Self = StObject.set(x, "aria-required", value.asInstanceOf[js.Any])
inline def `setAria-requiredUndefined`: Self = StObject.set(x, "aria-required", js.undefined)
inline def `setAria-roledescription`(value: String): Self = StObject.set(x, "aria-roledescription", value.asInstanceOf[js.Any])
inline def `setAria-roledescriptionUndefined`: Self = StObject.set(x, "aria-roledescription", js.undefined)
inline def `setAria-rowcount`(value: Double): Self = StObject.set(x, "aria-rowcount", value.asInstanceOf[js.Any])
inline def `setAria-rowcountUndefined`: Self = StObject.set(x, "aria-rowcount", js.undefined)
inline def `setAria-rowindex`(value: Double): Self = StObject.set(x, "aria-rowindex", value.asInstanceOf[js.Any])
inline def `setAria-rowindexUndefined`: Self = StObject.set(x, "aria-rowindex", js.undefined)
inline def `setAria-rowspan`(value: Double): Self = StObject.set(x, "aria-rowspan", value.asInstanceOf[js.Any])
inline def `setAria-rowspanUndefined`: Self = StObject.set(x, "aria-rowspan", js.undefined)
inline def `setAria-selected`(value: Booleanish): Self = StObject.set(x, "aria-selected", value.asInstanceOf[js.Any])
inline def `setAria-selectedUndefined`: Self = StObject.set(x, "aria-selected", js.undefined)
inline def `setAria-setsize`(value: Double): Self = StObject.set(x, "aria-setsize", value.asInstanceOf[js.Any])
inline def `setAria-setsizeUndefined`: Self = StObject.set(x, "aria-setsize", js.undefined)
inline def `setAria-sort`(value: "none" | "ascending" | "descending" | "other"): Self = StObject.set(x, "aria-sort", value.asInstanceOf[js.Any])
inline def `setAria-sortUndefined`: Self = StObject.set(x, "aria-sort", js.undefined)
inline def `setAria-valuemax`(value: Double): Self = StObject.set(x, "aria-valuemax", value.asInstanceOf[js.Any])
inline def `setAria-valuemaxUndefined`: Self = StObject.set(x, "aria-valuemax", js.undefined)
inline def `setAria-valuemin`(value: Double): Self = StObject.set(x, "aria-valuemin", value.asInstanceOf[js.Any])
inline def `setAria-valueminUndefined`: Self = StObject.set(x, "aria-valuemin", js.undefined)
inline def `setAria-valuenow`(value: Double): Self = StObject.set(x, "aria-valuenow", value.asInstanceOf[js.Any])
inline def `setAria-valuenowUndefined`: Self = StObject.set(x, "aria-valuenow", js.undefined)
inline def `setAria-valuetext`(value: String): Self = StObject.set(x, "aria-valuetext", value.asInstanceOf[js.Any])
inline def `setAria-valuetextUndefined`: Self = StObject.set(x, "aria-valuetext", js.undefined)
inline def setAutoCapitalize(value: String): Self = StObject.set(x, "autoCapitalize", value.asInstanceOf[js.Any])
inline def setAutoCapitalizeUndefined: Self = StObject.set(x, "autoCapitalize", js.undefined)
inline def setAutoCorrect(value: String): Self = StObject.set(x, "autoCorrect", value.asInstanceOf[js.Any])
inline def setAutoCorrectUndefined: Self = StObject.set(x, "autoCorrect", js.undefined)
inline def setAutoFocus(value: Boolean): Self = StObject.set(x, "autoFocus", value.asInstanceOf[js.Any])
inline def setAutoFocusUndefined: Self = StObject.set(x, "autoFocus", js.undefined)
inline def setAutoSave(value: String): Self = StObject.set(x, "autoSave", value.asInstanceOf[js.Any])
inline def setAutoSaveUndefined: Self = StObject.set(x, "autoSave", js.undefined)
inline def setBackdropComponent(value: ReactElement): Self = StObject.set(x, "BackdropComponent", value.asInstanceOf[js.Any])
inline def setBackdropComponentUndefined: Self = StObject.set(x, "BackdropComponent", js.undefined)
inline def setBackdropProps(value: PartialBackdropPropsBackdropTypeMapdivde): Self = StObject.set(x, "BackdropProps", value.asInstanceOf[js.Any])
inline def setBackdropPropsUndefined: Self = StObject.set(x, "BackdropProps", js.undefined)
inline def setChildren(value: ReactElement): Self = StObject.set(x, "children", value.asInstanceOf[js.Any])
inline def setClassName(value: String): Self = StObject.set(x, "className", value.asInstanceOf[js.Any])
inline def setClassNameUndefined: Self = StObject.set(x, "className", js.undefined)
inline def setClasses(value: PartialModalUnstyledClasses): Self = StObject.set(x, "classes", value.asInstanceOf[js.Any])
inline def setClassesUndefined: Self = StObject.set(x, "classes", js.undefined)
inline def setCloseAfterTransition(value: Boolean): Self = StObject.set(x, "closeAfterTransition", value.asInstanceOf[js.Any])
inline def setCloseAfterTransitionUndefined: Self = StObject.set(x, "closeAfterTransition", js.undefined)
inline def setColor(value: String): Self = StObject.set(x, "color", value.asInstanceOf[js.Any])
inline def setColorUndefined: Self = StObject.set(x, "color", js.undefined)
inline def setComponents(value: BackdropRoot): Self = StObject.set(x, "components", value.asInstanceOf[js.Any])
inline def setComponentsProps(value: Backdrop): Self = StObject.set(x, "componentsProps", value.asInstanceOf[js.Any])
inline def setComponentsPropsUndefined: Self = StObject.set(x, "componentsProps", js.undefined)
inline def setComponentsUndefined: Self = StObject.set(x, "components", js.undefined)
inline def setContainer(value: org.scalajs.dom.Element | (js.Function0[org.scalajs.dom.Element | Null])): Self = StObject.set(x, "container", value.asInstanceOf[js.Any])
inline def setContainerFunction0(value: () => org.scalajs.dom.Element | Null): Self = StObject.set(x, "container", js.Any.fromFunction0(value))
inline def setContainerNull: Self = StObject.set(x, "container", null)
inline def setContainerUndefined: Self = StObject.set(x, "container", js.undefined)
inline def setContent(value: String): Self = StObject.set(x, "content", value.asInstanceOf[js.Any])
inline def setContentEditable(value: Booleanish | "inherit"): Self = StObject.set(x, "contentEditable", value.asInstanceOf[js.Any])
inline def setContentEditableUndefined: Self = StObject.set(x, "contentEditable", js.undefined)
inline def setContentUndefined: Self = StObject.set(x, "content", js.undefined)
inline def setContextMenu(value: String): Self = StObject.set(x, "contextMenu", value.asInstanceOf[js.Any])
inline def setContextMenuUndefined: Self = StObject.set(x, "contextMenu", js.undefined)
inline def setDangerouslySetInnerHTML(value: Html): Self = StObject.set(x, "dangerouslySetInnerHTML", value.asInstanceOf[js.Any])
inline def setDangerouslySetInnerHTMLUndefined: Self = StObject.set(x, "dangerouslySetInnerHTML", js.undefined)
inline def setDatatype(value: String): Self = StObject.set(x, "datatype", value.asInstanceOf[js.Any])
inline def setDatatypeUndefined: Self = StObject.set(x, "datatype", js.undefined)
inline def setDefaultChecked(value: Boolean): Self = StObject.set(x, "defaultChecked", value.asInstanceOf[js.Any])
inline def setDefaultCheckedUndefined: Self = StObject.set(x, "defaultChecked", js.undefined)
inline def setDefaultValue(value: String | Double | js.Array[String]): Self = StObject.set(x, "defaultValue", value.asInstanceOf[js.Any])
inline def setDefaultValueUndefined: Self = StObject.set(x, "defaultValue", js.undefined)
inline def setDefaultValueVarargs(value: String*): Self = StObject.set(x, "defaultValue", js.Array(value*))
inline def setDir(value: String): Self = StObject.set(x, "dir", value.asInstanceOf[js.Any])
inline def setDirUndefined: Self = StObject.set(x, "dir", js.undefined)
inline def setDisableAutoFocus(value: Boolean): Self = StObject.set(x, "disableAutoFocus", value.asInstanceOf[js.Any])
inline def setDisableAutoFocusUndefined: Self = StObject.set(x, "disableAutoFocus", js.undefined)
inline def setDisableEnforceFocus(value: Boolean): Self = StObject.set(x, "disableEnforceFocus", value.asInstanceOf[js.Any])
inline def setDisableEnforceFocusUndefined: Self = StObject.set(x, "disableEnforceFocus", js.undefined)
inline def setDisableEscapeKeyDown(value: Boolean): Self = StObject.set(x, "disableEscapeKeyDown", value.asInstanceOf[js.Any])
inline def setDisableEscapeKeyDownUndefined: Self = StObject.set(x, "disableEscapeKeyDown", js.undefined)
inline def setDisablePortal(value: Boolean): Self = StObject.set(x, "disablePortal", value.asInstanceOf[js.Any])
inline def setDisablePortalUndefined: Self = StObject.set(x, "disablePortal", js.undefined)
inline def setDisableRestoreFocus(value: Boolean): Self = StObject.set(x, "disableRestoreFocus", value.asInstanceOf[js.Any])
inline def setDisableRestoreFocusUndefined: Self = StObject.set(x, "disableRestoreFocus", js.undefined)
inline def setDisableScrollLock(value: Boolean): Self = StObject.set(x, "disableScrollLock", value.asInstanceOf[js.Any])
inline def setDisableScrollLockUndefined: Self = StObject.set(x, "disableScrollLock", js.undefined)
inline def setDraggable(value: Booleanish): Self = StObject.set(x, "draggable", value.asInstanceOf[js.Any])
inline def setDraggableUndefined: Self = StObject.set(x, "draggable", js.undefined)
inline def setExited(value: Boolean): Self = StObject.set(x, "exited", value.asInstanceOf[js.Any])
inline def setHidden(value: Boolean): Self = StObject.set(x, "hidden", value.asInstanceOf[js.Any])
inline def setHiddenUndefined: Self = StObject.set(x, "hidden", js.undefined)
inline def setHideBackdrop(value: Boolean): Self = StObject.set(x, "hideBackdrop", value.asInstanceOf[js.Any])
inline def setHideBackdropUndefined: Self = StObject.set(x, "hideBackdrop", js.undefined)
inline def setId(value: String): Self = StObject.set(x, "id", value.asInstanceOf[js.Any])
inline def setIdUndefined: Self = StObject.set(x, "id", js.undefined)
inline def setInlist(value: Any): Self = StObject.set(x, "inlist", value.asInstanceOf[js.Any])
inline def setInlistUndefined: Self = StObject.set(x, "inlist", js.undefined)
inline def setInputMode(value: "none" | "text" | "tel" | "url" | "email" | "numeric" | "decimal" | "search"): Self = StObject.set(x, "inputMode", value.asInstanceOf[js.Any])
inline def setInputModeUndefined: Self = StObject.set(x, "inputMode", js.undefined)
inline def setIs(value: String): Self = StObject.set(x, "is", value.asInstanceOf[js.Any])
inline def setIsUndefined: Self = StObject.set(x, "is", js.undefined)
inline def setItemID(value: String): Self = StObject.set(x, "itemID", value.asInstanceOf[js.Any])
inline def setItemIDUndefined: Self = StObject.set(x, "itemID", js.undefined)
inline def setItemProp(value: String): Self = StObject.set(x, "itemProp", value.asInstanceOf[js.Any])
inline def setItemPropUndefined: Self = StObject.set(x, "itemProp", js.undefined)
inline def setItemRef(value: String): Self = StObject.set(x, "itemRef", value.asInstanceOf[js.Any])
inline def setItemRefUndefined: Self = StObject.set(x, "itemRef", js.undefined)
inline def setItemScope(value: Boolean): Self = StObject.set(x, "itemScope", value.asInstanceOf[js.Any])
inline def setItemScopeUndefined: Self = StObject.set(x, "itemScope", js.undefined)
inline def setItemType(value: String): Self = StObject.set(x, "itemType", value.asInstanceOf[js.Any])
inline def setItemTypeUndefined: Self = StObject.set(x, "itemType", js.undefined)
inline def setKeepMounted(value: Boolean): Self = StObject.set(x, "keepMounted", value.asInstanceOf[js.Any])
inline def setKeepMountedUndefined: Self = StObject.set(x, "keepMounted", js.undefined)
inline def setKey(value: Key): Self = StObject.set(x, "key", value.asInstanceOf[js.Any])
inline def setKeyNull: Self = StObject.set(x, "key", null)
inline def setKeyUndefined: Self = StObject.set(x, "key", js.undefined)
inline def setLang(value: String): Self = StObject.set(x, "lang", value.asInstanceOf[js.Any])
inline def setLangUndefined: Self = StObject.set(x, "lang", js.undefined)
inline def setNonce(value: String): Self = StObject.set(x, "nonce", value.asInstanceOf[js.Any])
inline def setNonceUndefined: Self = StObject.set(x, "nonce", js.undefined)
inline def setOnAbort(value: SyntheticEvent[Event, HTMLDivElement] => Unit): Self = StObject.set(x, "onAbort", js.Any.fromFunction1(value))
inline def setOnAbortUndefined: Self = StObject.set(x, "onAbort", js.undefined)
inline def setOnAnimationEnd(value: SyntheticAnimationEvent[HTMLDivElement] => Unit): Self = StObject.set(x, "onAnimationEnd", js.Any.fromFunction1(value))
inline def setOnAnimationEndUndefined: Self = StObject.set(x, "onAnimationEnd", js.undefined)
inline def setOnAnimationIteration(value: SyntheticAnimationEvent[HTMLDivElement] => Unit): Self = StObject.set(x, "onAnimationIteration", js.Any.fromFunction1(value))
inline def setOnAnimationIterationUndefined: Self = StObject.set(x, "onAnimationIteration", js.undefined)
inline def setOnAnimationStart(value: SyntheticAnimationEvent[HTMLDivElement] => Unit): Self = StObject.set(x, "onAnimationStart", js.Any.fromFunction1(value))
inline def setOnAnimationStartUndefined: Self = StObject.set(x, "onAnimationStart", js.undefined)
inline def setOnAuxClick(value: SyntheticMouseEvent[HTMLDivElement] => Unit): Self = StObject.set(x, "onAuxClick", js.Any.fromFunction1(value))
inline def setOnAuxClickUndefined: Self = StObject.set(x, "onAuxClick", js.undefined)
inline def setOnBackdropClick(value: SyntheticEvent[Event, js.Object] => Unit): Self = StObject.set(x, "onBackdropClick", js.Any.fromFunction1(value))
inline def setOnBackdropClickUndefined: Self = StObject.set(x, "onBackdropClick", js.undefined)
inline def setOnBeforeInput(value: SyntheticEvent[EventTarget & HTMLDivElement, Event] => Unit): Self = StObject.set(x, "onBeforeInput", js.Any.fromFunction1(value))
inline def setOnBeforeInputUndefined: Self = StObject.set(x, "onBeforeInput", js.undefined)
inline def setOnBlur(value: SyntheticFocusEvent[HTMLDivElement] => Unit): Self = StObject.set(x, "onBlur", js.Any.fromFunction1(value))
inline def setOnBlurUndefined: Self = StObject.set(x, "onBlur", js.undefined)
inline def setOnCanPlay(value: SyntheticEvent[Event, HTMLDivElement] => Unit): Self = StObject.set(x, "onCanPlay", js.Any.fromFunction1(value))
inline def setOnCanPlayThrough(value: SyntheticEvent[Event, HTMLDivElement] => Unit): Self = StObject.set(x, "onCanPlayThrough", js.Any.fromFunction1(value))
inline def setOnCanPlayThroughUndefined: Self = StObject.set(x, "onCanPlayThrough", js.undefined)
inline def setOnCanPlayUndefined: Self = StObject.set(x, "onCanPlay", js.undefined)
inline def setOnChange(value: SyntheticEvent[EventTarget & HTMLDivElement, Event] => Unit): Self = StObject.set(x, "onChange", js.Any.fromFunction1(value))
inline def setOnChangeUndefined: Self = StObject.set(x, "onChange", js.undefined)
inline def setOnClick(value: SyntheticMouseEvent[HTMLDivElement] => Unit): Self = StObject.set(x, "onClick", js.Any.fromFunction1(value))
inline def setOnClickUndefined: Self = StObject.set(x, "onClick", js.undefined)
inline def setOnClose(value: (/* event */ js.Object, /* reason */ "backdropClick" | "escapeKeyDown") => Unit): Self = StObject.set(x, "onClose", js.Any.fromFunction2(value))
inline def setOnCloseUndefined: Self = StObject.set(x, "onClose", js.undefined)
inline def setOnCompositionEnd(value: SyntheticCompositionEvent[HTMLDivElement] => Unit): Self = StObject.set(x, "onCompositionEnd", js.Any.fromFunction1(value))
inline def setOnCompositionEndUndefined: Self = StObject.set(x, "onCompositionEnd", js.undefined)
inline def setOnCompositionStart(value: SyntheticCompositionEvent[HTMLDivElement] => Unit): Self = StObject.set(x, "onCompositionStart", js.Any.fromFunction1(value))
inline def setOnCompositionStartUndefined: Self = StObject.set(x, "onCompositionStart", js.undefined)
inline def setOnCompositionUpdate(value: SyntheticCompositionEvent[HTMLDivElement] => Unit): Self = StObject.set(x, "onCompositionUpdate", js.Any.fromFunction1(value))
inline def setOnCompositionUpdateUndefined: Self = StObject.set(x, "onCompositionUpdate", js.undefined)
inline def setOnContextMenu(value: SyntheticMouseEvent[HTMLDivElement] => Unit): Self = StObject.set(x, "onContextMenu", js.Any.fromFunction1(value))
inline def setOnContextMenuUndefined: Self = StObject.set(x, "onContextMenu", js.undefined)
inline def setOnCopy(value: SyntheticClipboardEvent[HTMLDivElement] => Unit): Self = StObject.set(x, "onCopy", js.Any.fromFunction1(value))
inline def setOnCopyUndefined: Self = StObject.set(x, "onCopy", js.undefined)
inline def setOnCut(value: SyntheticClipboardEvent[HTMLDivElement] => Unit): Self = StObject.set(x, "onCut", js.Any.fromFunction1(value))
inline def setOnCutUndefined: Self = StObject.set(x, "onCut", js.undefined)
inline def setOnDoubleClick(value: SyntheticMouseEvent[HTMLDivElement] => Unit): Self = StObject.set(x, "onDoubleClick", js.Any.fromFunction1(value))
inline def setOnDoubleClickUndefined: Self = StObject.set(x, "onDoubleClick", js.undefined)
inline def setOnDrag(value: DragEvent[HTMLDivElement] => Unit): Self = StObject.set(x, "onDrag", js.Any.fromFunction1(value))
inline def setOnDragEnd(value: DragEvent[HTMLDivElement] => Unit): Self = StObject.set(x, "onDragEnd", js.Any.fromFunction1(value))
inline def setOnDragEndUndefined: Self = StObject.set(x, "onDragEnd", js.undefined)
inline def setOnDragEnter(value: DragEvent[HTMLDivElement] => Unit): Self = StObject.set(x, "onDragEnter", js.Any.fromFunction1(value))
inline def setOnDragEnterUndefined: Self = StObject.set(x, "onDragEnter", js.undefined)
inline def setOnDragExit(value: DragEvent[HTMLDivElement] => Unit): Self = StObject.set(x, "onDragExit", js.Any.fromFunction1(value))
inline def setOnDragExitUndefined: Self = StObject.set(x, "onDragExit", js.undefined)
inline def setOnDragLeave(value: DragEvent[HTMLDivElement] => Unit): Self = StObject.set(x, "onDragLeave", js.Any.fromFunction1(value))
inline def setOnDragLeaveUndefined: Self = StObject.set(x, "onDragLeave", js.undefined)
inline def setOnDragOver(value: DragEvent[HTMLDivElement] => Unit): Self = StObject.set(x, "onDragOver", js.Any.fromFunction1(value))
inline def setOnDragOverUndefined: Self = StObject.set(x, "onDragOver", js.undefined)
inline def setOnDragStart(value: DragEvent[HTMLDivElement] => Unit): Self = StObject.set(x, "onDragStart", js.Any.fromFunction1(value))
inline def setOnDragStartUndefined: Self = StObject.set(x, "onDragStart", js.undefined)
inline def setOnDragUndefined: Self = StObject.set(x, "onDrag", js.undefined)
inline def setOnDrop(value: DragEvent[HTMLDivElement] => Unit): Self = StObject.set(x, "onDrop", js.Any.fromFunction1(value))
inline def setOnDropUndefined: Self = StObject.set(x, "onDrop", js.undefined)
inline def setOnDurationChange(value: SyntheticEvent[Event, HTMLDivElement] => Unit): Self = StObject.set(x, "onDurationChange", js.Any.fromFunction1(value))
inline def setOnDurationChangeUndefined: Self = StObject.set(x, "onDurationChange", js.undefined)
inline def setOnEmptied(value: SyntheticEvent[Event, HTMLDivElement] => Unit): Self = StObject.set(x, "onEmptied", js.Any.fromFunction1(value))
inline def setOnEmptiedUndefined: Self = StObject.set(x, "onEmptied", js.undefined)
inline def setOnEncrypted(value: SyntheticEvent[Event, HTMLDivElement] => Unit): Self = StObject.set(x, "onEncrypted", js.Any.fromFunction1(value))
inline def setOnEncryptedUndefined: Self = StObject.set(x, "onEncrypted", js.undefined)
inline def setOnEnded(value: SyntheticEvent[Event, HTMLDivElement] => Unit): Self = StObject.set(x, "onEnded", js.Any.fromFunction1(value))
inline def setOnEndedUndefined: Self = StObject.set(x, "onEnded", js.undefined)
inline def setOnError(value: SyntheticEvent[Event, HTMLDivElement] => Unit): Self = StObject.set(x, "onError", js.Any.fromFunction1(value))
inline def setOnErrorUndefined: Self = StObject.set(x, "onError", js.undefined)
inline def setOnFocus(value: SyntheticFocusEvent[HTMLDivElement] => Unit): Self = StObject.set(x, "onFocus", js.Any.fromFunction1(value))
inline def setOnFocusUndefined: Self = StObject.set(x, "onFocus", js.undefined)
inline def setOnInput(value: SyntheticEvent[EventTarget & HTMLDivElement, Event] => Unit): Self = StObject.set(x, "onInput", js.Any.fromFunction1(value))
inline def setOnInputUndefined: Self = StObject.set(x, "onInput", js.undefined)
inline def setOnInvalid(value: SyntheticEvent[EventTarget & HTMLDivElement, Event] => Unit): Self = StObject.set(x, "onInvalid", js.Any.fromFunction1(value))
inline def setOnInvalidUndefined: Self = StObject.set(x, "onInvalid", js.undefined)
inline def setOnKeyDown(value: SyntheticKeyboardEvent[HTMLDivElement] => Unit): Self = StObject.set(x, "onKeyDown", js.Any.fromFunction1(value))
inline def setOnKeyDownUndefined: Self = StObject.set(x, "onKeyDown", js.undefined)
inline def setOnKeyPress(value: SyntheticKeyboardEvent[HTMLDivElement] => Unit): Self = StObject.set(x, "onKeyPress", js.Any.fromFunction1(value))
inline def setOnKeyPressUndefined: Self = StObject.set(x, "onKeyPress", js.undefined)
inline def setOnKeyUp(value: SyntheticKeyboardEvent[HTMLDivElement] => Unit): Self = StObject.set(x, "onKeyUp", js.Any.fromFunction1(value))
inline def setOnKeyUpUndefined: Self = StObject.set(x, "onKeyUp", js.undefined)
inline def setOnLoad(value: SyntheticEvent[Event, HTMLDivElement] => Unit): Self = StObject.set(x, "onLoad", js.Any.fromFunction1(value))
inline def setOnLoadStart(value: SyntheticEvent[Event, HTMLDivElement] => Unit): Self = StObject.set(x, "onLoadStart", js.Any.fromFunction1(value))
inline def setOnLoadStartUndefined: Self = StObject.set(x, "onLoadStart", js.undefined)
inline def setOnLoadUndefined: Self = StObject.set(x, "onLoad", js.undefined)
inline def setOnLoadedData(value: SyntheticEvent[Event, HTMLDivElement] => Unit): Self = StObject.set(x, "onLoadedData", js.Any.fromFunction1(value))
inline def setOnLoadedDataUndefined: Self = StObject.set(x, "onLoadedData", js.undefined)
inline def setOnLoadedMetadata(value: SyntheticEvent[Event, HTMLDivElement] => Unit): Self = StObject.set(x, "onLoadedMetadata", js.Any.fromFunction1(value))
inline def setOnLoadedMetadataUndefined: Self = StObject.set(x, "onLoadedMetadata", js.undefined)
inline def setOnMouseDown(value: SyntheticMouseEvent[HTMLDivElement] => Unit): Self = StObject.set(x, "onMouseDown", js.Any.fromFunction1(value))
inline def setOnMouseDownUndefined: Self = StObject.set(x, "onMouseDown", js.undefined)
inline def setOnMouseEnter(value: SyntheticMouseEvent[HTMLDivElement] => Unit): Self = StObject.set(x, "onMouseEnter", js.Any.fromFunction1(value))
inline def setOnMouseEnterUndefined: Self = StObject.set(x, "onMouseEnter", js.undefined)
inline def setOnMouseLeave(value: SyntheticMouseEvent[HTMLDivElement] => Unit): Self = StObject.set(x, "onMouseLeave", js.Any.fromFunction1(value))
inline def setOnMouseLeaveUndefined: Self = StObject.set(x, "onMouseLeave", js.undefined)
inline def setOnMouseMove(value: SyntheticMouseEvent[HTMLDivElement] => Unit): Self = StObject.set(x, "onMouseMove", js.Any.fromFunction1(value))
inline def setOnMouseMoveUndefined: Self = StObject.set(x, "onMouseMove", js.undefined)
inline def setOnMouseOut(value: SyntheticMouseEvent[HTMLDivElement] => Unit): Self = StObject.set(x, "onMouseOut", js.Any.fromFunction1(value))
inline def setOnMouseOutUndefined: Self = StObject.set(x, "onMouseOut", js.undefined)
inline def setOnMouseOver(value: SyntheticMouseEvent[HTMLDivElement] => Unit): Self = StObject.set(x, "onMouseOver", js.Any.fromFunction1(value))
inline def setOnMouseOverUndefined: Self = StObject.set(x, "onMouseOver", js.undefined)
inline def setOnMouseUp(value: SyntheticMouseEvent[HTMLDivElement] => Unit): Self = StObject.set(x, "onMouseUp", js.Any.fromFunction1(value))
inline def setOnMouseUpUndefined: Self = StObject.set(x, "onMouseUp", js.undefined)
inline def setOnPaste(value: SyntheticClipboardEvent[HTMLDivElement] => Unit): Self = StObject.set(x, "onPaste", js.Any.fromFunction1(value))
inline def setOnPasteUndefined: Self = StObject.set(x, "onPaste", js.undefined)
inline def setOnPause(value: SyntheticEvent[Event, HTMLDivElement] => Unit): Self = StObject.set(x, "onPause", js.Any.fromFunction1(value))
inline def setOnPauseUndefined: Self = StObject.set(x, "onPause", js.undefined)
inline def setOnPlay(value: SyntheticEvent[Event, HTMLDivElement] => Unit): Self = StObject.set(x, "onPlay", js.Any.fromFunction1(value))
inline def setOnPlayUndefined: Self = StObject.set(x, "onPlay", js.undefined)
inline def setOnPlaying(value: SyntheticEvent[Event, HTMLDivElement] => Unit): Self = StObject.set(x, "onPlaying", js.Any.fromFunction1(value))
inline def setOnPlayingUndefined: Self = StObject.set(x, "onPlaying", js.undefined)
inline def setOnPointerCancel(value: SyntheticPointerEvent[HTMLDivElement] => Unit): Self = StObject.set(x, "onPointerCancel", js.Any.fromFunction1(value))
inline def setOnPointerCancelUndefined: Self = StObject.set(x, "onPointerCancel", js.undefined)
inline def setOnPointerDown(value: SyntheticPointerEvent[HTMLDivElement] => Unit): Self = StObject.set(x, "onPointerDown", js.Any.fromFunction1(value))
inline def setOnPointerDownUndefined: Self = StObject.set(x, "onPointerDown", js.undefined)
inline def setOnPointerEnter(value: SyntheticPointerEvent[HTMLDivElement] => Unit): Self = StObject.set(x, "onPointerEnter", js.Any.fromFunction1(value))
inline def setOnPointerEnterUndefined: Self = StObject.set(x, "onPointerEnter", js.undefined)
inline def setOnPointerLeave(value: SyntheticPointerEvent[HTMLDivElement] => Unit): Self = StObject.set(x, "onPointerLeave", js.Any.fromFunction1(value))
inline def setOnPointerLeaveUndefined: Self = StObject.set(x, "onPointerLeave", js.undefined)
inline def setOnPointerMove(value: SyntheticPointerEvent[HTMLDivElement] => Unit): Self = StObject.set(x, "onPointerMove", js.Any.fromFunction1(value))
inline def setOnPointerMoveUndefined: Self = StObject.set(x, "onPointerMove", js.undefined)
inline def setOnPointerOut(value: SyntheticPointerEvent[HTMLDivElement] => Unit): Self = StObject.set(x, "onPointerOut", js.Any.fromFunction1(value))
inline def setOnPointerOutUndefined: Self = StObject.set(x, "onPointerOut", js.undefined)
inline def setOnPointerOver(value: SyntheticPointerEvent[HTMLDivElement] => Unit): Self = StObject.set(x, "onPointerOver", js.Any.fromFunction1(value))
inline def setOnPointerOverUndefined: Self = StObject.set(x, "onPointerOver", js.undefined)
inline def setOnPointerUp(value: SyntheticPointerEvent[HTMLDivElement] => Unit): Self = StObject.set(x, "onPointerUp", js.Any.fromFunction1(value))
inline def setOnPointerUpUndefined: Self = StObject.set(x, "onPointerUp", js.undefined)
inline def setOnProgress(value: SyntheticEvent[Event, HTMLDivElement] => Unit): Self = StObject.set(x, "onProgress", js.Any.fromFunction1(value))
inline def setOnProgressUndefined: Self = StObject.set(x, "onProgress", js.undefined)
inline def setOnRateChange(value: SyntheticEvent[Event, HTMLDivElement] => Unit): Self = StObject.set(x, "onRateChange", js.Any.fromFunction1(value))
inline def setOnRateChangeUndefined: Self = StObject.set(x, "onRateChange", js.undefined)
inline def setOnReset(value: SyntheticEvent[EventTarget & HTMLDivElement, Event] => Unit): Self = StObject.set(x, "onReset", js.Any.fromFunction1(value))
inline def setOnResetUndefined: Self = StObject.set(x, "onReset", js.undefined)
inline def setOnResize(value: SyntheticEvent[Event, HTMLDivElement] => Unit): Self = StObject.set(x, "onResize", js.Any.fromFunction1(value))
inline def setOnResizeUndefined: Self = StObject.set(x, "onResize", js.undefined)
inline def setOnScroll(value: SyntheticUIEvent[HTMLDivElement] => Unit): Self = StObject.set(x, "onScroll", js.Any.fromFunction1(value))
inline def setOnScrollUndefined: Self = StObject.set(x, "onScroll", js.undefined)
inline def setOnSeeked(value: SyntheticEvent[Event, HTMLDivElement] => Unit): Self = StObject.set(x, "onSeeked", js.Any.fromFunction1(value))
inline def setOnSeekedUndefined: Self = StObject.set(x, "onSeeked", js.undefined)
inline def setOnSeeking(value: SyntheticEvent[Event, HTMLDivElement] => Unit): Self = StObject.set(x, "onSeeking", js.Any.fromFunction1(value))
inline def setOnSeekingUndefined: Self = StObject.set(x, "onSeeking", js.undefined)
inline def setOnSelect(value: SyntheticEvent[Event, HTMLDivElement] => Unit): Self = StObject.set(x, "onSelect", js.Any.fromFunction1(value))
inline def setOnSelectUndefined: Self = StObject.set(x, "onSelect", js.undefined)
inline def setOnStalled(value: SyntheticEvent[Event, HTMLDivElement] => Unit): Self = StObject.set(x, "onStalled", js.Any.fromFunction1(value))
inline def setOnStalledUndefined: Self = StObject.set(x, "onStalled", js.undefined)
inline def setOnSubmit(value: SyntheticEvent[EventTarget & HTMLDivElement, Event] => Unit): Self = StObject.set(x, "onSubmit", js.Any.fromFunction1(value))
inline def setOnSubmitUndefined: Self = StObject.set(x, "onSubmit", js.undefined)
inline def setOnSuspend(value: SyntheticEvent[Event, HTMLDivElement] => Unit): Self = StObject.set(x, "onSuspend", js.Any.fromFunction1(value))
inline def setOnSuspendUndefined: Self = StObject.set(x, "onSuspend", js.undefined)
inline def setOnTimeUpdate(value: SyntheticEvent[Event, HTMLDivElement] => Unit): Self = StObject.set(x, "onTimeUpdate", js.Any.fromFunction1(value))
inline def setOnTimeUpdateUndefined: Self = StObject.set(x, "onTimeUpdate", js.undefined)
inline def setOnTouchCancel(value: SyntheticTouchEvent[HTMLDivElement] => Unit): Self = StObject.set(x, "onTouchCancel", js.Any.fromFunction1(value))
inline def setOnTouchCancelUndefined: Self = StObject.set(x, "onTouchCancel", js.undefined)
inline def setOnTouchEnd(value: SyntheticTouchEvent[HTMLDivElement] => Unit): Self = StObject.set(x, "onTouchEnd", js.Any.fromFunction1(value))
inline def setOnTouchEndUndefined: Self = StObject.set(x, "onTouchEnd", js.undefined)
inline def setOnTouchMove(value: SyntheticTouchEvent[HTMLDivElement] => Unit): Self = StObject.set(x, "onTouchMove", js.Any.fromFunction1(value))
inline def setOnTouchMoveUndefined: Self = StObject.set(x, "onTouchMove", js.undefined)
inline def setOnTouchStart(value: SyntheticTouchEvent[HTMLDivElement] => Unit): Self = StObject.set(x, "onTouchStart", js.Any.fromFunction1(value))
inline def setOnTouchStartUndefined: Self = StObject.set(x, "onTouchStart", js.undefined)
inline def setOnTransitionEnd(value: SyntheticTransitionEvent[HTMLDivElement] => Unit): Self = StObject.set(x, "onTransitionEnd", js.Any.fromFunction1(value))
inline def setOnTransitionEndUndefined: Self = StObject.set(x, "onTransitionEnd", js.undefined)
inline def setOnVolumeChange(value: SyntheticEvent[Event, HTMLDivElement] => Unit): Self = StObject.set(x, "onVolumeChange", js.Any.fromFunction1(value))
inline def setOnVolumeChangeUndefined: Self = StObject.set(x, "onVolumeChange", js.undefined)
inline def setOnWaiting(value: SyntheticEvent[Event, HTMLDivElement] => Unit): Self = StObject.set(x, "onWaiting", js.Any.fromFunction1(value))
inline def setOnWaitingUndefined: Self = StObject.set(x, "onWaiting", js.undefined)
inline def setOnWheel(value: SyntheticWheelEvent[HTMLDivElement] => Unit): Self = StObject.set(x, "onWheel", js.Any.fromFunction1(value))
inline def setOnWheelUndefined: Self = StObject.set(x, "onWheel", js.undefined)
inline def setOpen(value: Boolean): Self = StObject.set(x, "open", value.asInstanceOf[js.Any])
inline def setPlaceholder(value: String): Self = StObject.set(x, "placeholder", value.asInstanceOf[js.Any])
inline def setPlaceholderUndefined: Self = StObject.set(x, "placeholder", js.undefined)
inline def setPrefix(value: String): Self = StObject.set(x, "prefix", value.asInstanceOf[js.Any])
inline def setPrefixUndefined: Self = StObject.set(x, "prefix", js.undefined)
inline def setProperty(value: String): Self = StObject.set(x, "property", value.asInstanceOf[js.Any])
inline def setPropertyUndefined: Self = StObject.set(x, "property", js.undefined)
inline def setRadioGroup(value: String): Self = StObject.set(x, "radioGroup", value.asInstanceOf[js.Any])
inline def setRadioGroupUndefined: Self = StObject.set(x, "radioGroup", js.undefined)
inline def setRef(value: LegacyRef[HTMLDivElement]): Self = StObject.set(x, "ref", value.asInstanceOf[js.Any])
inline def setRefFunction1(value: /* instance */ HTMLDivElement | Null => Unit): Self = StObject.set(x, "ref", js.Any.fromFunction1(value))
inline def setRefNull: Self = StObject.set(x, "ref", null)
inline def setRefReactRef(value: ReactRef[HTMLDivElement]): Self = StObject.set(x, "ref", value.asInstanceOf[js.Any])
inline def setRefUndefined: Self = StObject.set(x, "ref", js.undefined)
inline def setRel(value: String): Self = StObject.set(x, "rel", value.asInstanceOf[js.Any])
inline def setRelUndefined: Self = StObject.set(x, "rel", js.undefined)
inline def setResource(value: String): Self = StObject.set(x, "resource", value.asInstanceOf[js.Any])
inline def setResourceUndefined: Self = StObject.set(x, "resource", js.undefined)
inline def setResults(value: Double): Self = StObject.set(x, "results", value.asInstanceOf[js.Any])
inline def setResultsUndefined: Self = StObject.set(x, "results", js.undefined)
inline def setRev(value: String): Self = StObject.set(x, "rev", value.asInstanceOf[js.Any])
inline def setRevUndefined: Self = StObject.set(x, "rev", js.undefined)
inline def setRole(value: AriaRole): Self = StObject.set(x, "role", value.asInstanceOf[js.Any])
inline def setRoleUndefined: Self = StObject.set(x, "role", js.undefined)
inline def setSecurity(value: String): Self = StObject.set(x, "security", value.asInstanceOf[js.Any])
inline def setSecurityUndefined: Self = StObject.set(x, "security", js.undefined)
inline def setSlot(value: String): Self = StObject.set(x, "slot", value.asInstanceOf[js.Any])
inline def setSlotProps(value: Backdrop): Self = StObject.set(x, "slotProps", value.asInstanceOf[js.Any])
inline def setSlotPropsUndefined: Self = StObject.set(x, "slotProps", js.undefined)
inline def setSlotUndefined: Self = StObject.set(x, "slot", js.undefined)
inline def setSlots(value: ModalUnstyledSlots): Self = StObject.set(x, "slots", value.asInstanceOf[js.Any])
inline def setSlotsUndefined: Self = StObject.set(x, "slots", js.undefined)
inline def setSpellCheck(value: Booleanish): Self = StObject.set(x, "spellCheck", value.asInstanceOf[js.Any])
inline def setSpellCheckUndefined: Self = StObject.set(x, "spellCheck", js.undefined)
inline def setStyle(value: CSSProperties): Self = StObject.set(x, "style", value.asInstanceOf[js.Any])
inline def setStyleUndefined: Self = StObject.set(x, "style", js.undefined)
inline def setSuppressContentEditableWarning(value: Boolean): Self = StObject.set(x, "suppressContentEditableWarning", value.asInstanceOf[js.Any])
inline def setSuppressContentEditableWarningUndefined: Self = StObject.set(x, "suppressContentEditableWarning", js.undefined)
inline def setSuppressHydrationWarning(value: Boolean): Self = StObject.set(x, "suppressHydrationWarning", value.asInstanceOf[js.Any])
inline def setSuppressHydrationWarningUndefined: Self = StObject.set(x, "suppressHydrationWarning", js.undefined)
inline def setSx(value: SxProps[Theme]): Self = StObject.set(x, "sx", value.asInstanceOf[js.Any])
inline def setSxFunction1(value: Theme => SystemStyleObject[Theme]): Self = StObject.set(x, "sx", js.Any.fromFunction1(value))
inline def setSxNull: Self = StObject.set(x, "sx", null)
inline def setSxUndefined: Self = StObject.set(x, "sx", js.undefined)
inline def setSxVarargs(value: (Boolean | SystemStyleObject[Theme] | (js.Function1[Theme, SystemStyleObject[Theme]]))*): Self = StObject.set(x, "sx", js.Array(value*))
inline def setTabIndex(value: Double): Self = StObject.set(x, "tabIndex", value.asInstanceOf[js.Any])
inline def setTabIndexUndefined: Self = StObject.set(x, "tabIndex", js.undefined)
inline def setTitle(value: String): Self = StObject.set(x, "title", value.asInstanceOf[js.Any])
inline def setTitleUndefined: Self = StObject.set(x, "title", js.undefined)
inline def setTranslate(value: "yes" | "no"): Self = StObject.set(x, "translate", value.asInstanceOf[js.Any])
inline def setTranslateUndefined: Self = StObject.set(x, "translate", js.undefined)
inline def setTypeof(value: String): Self = StObject.set(x, "typeof", value.asInstanceOf[js.Any])
inline def setTypeofUndefined: Self = StObject.set(x, "typeof", js.undefined)
inline def setUnselectable(value: "on" | "off"): Self = StObject.set(x, "unselectable", value.asInstanceOf[js.Any])
inline def setUnselectableUndefined: Self = StObject.set(x, "unselectable", js.undefined)
inline def setVocab(value: String): Self = StObject.set(x, "vocab", value.asInstanceOf[js.Any])
inline def setVocabUndefined: Self = StObject.set(x, "vocab", js.undefined)
}
}
type ModalProps[D /* <: ReactElement */, P] = OverrideProps[ModalTypeMap[D, P], D]
type ModalRootProps = /* import warning: importer.ImportType#apply Failed type conversion: std.NonNullable<@mui/material.anon.9 | undefined>['root'] */ js.Any
trait ModalTypeMap[D /* <: ReactElement */, P] extends StObject {
var defaultComponent: D
var props: P & BackdropComponent & OmitModalUnstyledTypeMapdivpropsslotProp
}
object ModalTypeMap {
inline def apply[D /* <: ReactElement */, P](defaultComponent: D, props: P & BackdropComponent & OmitModalUnstyledTypeMapdivpropsslotProp): ModalTypeMap[D, P] = {
val __obj = js.Dynamic.literal(defaultComponent = defaultComponent.asInstanceOf[js.Any], props = props.asInstanceOf[js.Any])
__obj.asInstanceOf[ModalTypeMap[D, P]]
}
@scala.inline
implicit open class MutableBuilder[Self <: ModalTypeMap[?, ?], D /* <: ReactElement */, P] (val x: Self & (ModalTypeMap[D, P])) extends AnyVal {
inline def setDefaultComponent(value: D): Self = StObject.set(x, "defaultComponent", value.asInstanceOf[js.Any])
inline def setProps(value: P & BackdropComponent & OmitModalUnstyledTypeMapdivpropsslotProp): Self = StObject.set(x, "props", value.asInstanceOf[js.Any])
}
}
type _To = js.Function1[/* props */ DefaultComponentPropsModalTypeMapdiv, Element]
/* This means you don't have to write `default`, but can instead just say `modalModalMod.foo` */
override def _to: js.Function1[/* props */ DefaultComponentPropsModalTypeMapdiv, Element] = default
}