All Downloads are FREE. Search and download functionalities are using the official Maven repository.
Please wait. This can take some minutes ...
Many resources are needed to download a project. Please understand that we have to compensate our server costs. Thank you in advance.
Project price only 1 $
You can buy this project and download/modify it how often you want.
com.olvind.mui.muiMaterial.anon.BadgeUnstyledTypeMapspanprops.scala Maven / Gradle / Ivy
package com.olvind.mui.muiMaterial.anon
import slinky.core.facade.ReactElement
import org.scalablytyped.runtime.StObject
import scala.scalajs.js
import scala.scalajs.js.annotation.{JSGlobalScope, JSGlobal, JSImport, JSName, JSBracketAccess}
/* Inlined @mui/base.@mui/base/BadgeUnstyled.BadgeUnstyledTypeMap<{}, 'span'>['props'] */
trait BadgeUnstyledTypeMapspanprops extends StObject {
/**
* The content rendered within the badge.
*/
var badgeContent: js.UndefOr[ReactElement] = js.undefined
/**
* The badge will be added relative to this node.
*/
var children: js.UndefOr[ReactElement] = js.undefined
/**
* If `true`, the badge is invisible.
* @default false
*/
var invisible: js.UndefOr[Boolean] = js.undefined
/**
* Max count to show.
* @default 99
*/
var max: js.UndefOr[Double] = js.undefined
/**
* Controls whether the badge is hidden when `badgeContent` is zero.
* @default false
*/
var showZero: js.UndefOr[Boolean] = js.undefined
/**
* The props used for each slot inside the Badge.
* @default {}
*/
var slotProps: js.UndefOr[com.olvind.mui.muiBase.anon.Badge] = js.undefined
/**
* The components used for each slot inside the Badge.
* Either a string to use a HTML element or a component.
* @default {}
*/
var slots: js.UndefOr[com.olvind.mui.muiBase.anon.Root] = js.undefined
}
object BadgeUnstyledTypeMapspanprops {
inline def apply(): BadgeUnstyledTypeMapspanprops = {
val __obj = js.Dynamic.literal()
__obj.asInstanceOf[BadgeUnstyledTypeMapspanprops]
}
@scala.inline
implicit open class MutableBuilder[Self <: BadgeUnstyledTypeMapspanprops] (val x: Self) extends AnyVal {
inline def setBadgeContent(value: ReactElement): Self = StObject.set(x, "badgeContent", value.asInstanceOf[js.Any])
inline def setBadgeContentUndefined: Self = StObject.set(x, "badgeContent", js.undefined)
inline def setChildren(value: ReactElement): Self = StObject.set(x, "children", value.asInstanceOf[js.Any])
inline def setChildrenUndefined: Self = StObject.set(x, "children", js.undefined)
inline def setInvisible(value: Boolean): Self = StObject.set(x, "invisible", value.asInstanceOf[js.Any])
inline def setInvisibleUndefined: Self = StObject.set(x, "invisible", js.undefined)
inline def setMax(value: Double): Self = StObject.set(x, "max", value.asInstanceOf[js.Any])
inline def setMaxUndefined: Self = StObject.set(x, "max", js.undefined)
inline def setShowZero(value: Boolean): Self = StObject.set(x, "showZero", value.asInstanceOf[js.Any])
inline def setShowZeroUndefined: Self = StObject.set(x, "showZero", js.undefined)
inline def setSlotProps(value: com.olvind.mui.muiBase.anon.Badge): Self = StObject.set(x, "slotProps", value.asInstanceOf[js.Any])
inline def setSlotPropsUndefined: Self = StObject.set(x, "slotProps", js.undefined)
inline def setSlots(value: com.olvind.mui.muiBase.anon.Root): Self = StObject.set(x, "slots", value.asInstanceOf[js.Any])
inline def setSlotsUndefined: Self = StObject.set(x, "slots", js.undefined)
}
}