com.olvind.mui.react.mod.SlotHTMLAttributes.scala Maven / Gradle / Ivy
package com.olvind.mui.react.mod
import org.scalablytyped.runtime.StObject
import scala.scalajs.js
import scala.scalajs.js.annotation.{JSGlobalScope, JSGlobal, JSImport, JSName, JSBracketAccess}
trait SlotHTMLAttributes[T]
extends StObject
with HTMLAttributes[T] {
var name: js.UndefOr[String] = js.undefined
}
object SlotHTMLAttributes {
inline def apply[T](): SlotHTMLAttributes[T] = {
val __obj = js.Dynamic.literal()
__obj.asInstanceOf[SlotHTMLAttributes[T]]
}
@scala.inline
implicit open class MutableBuilder[Self <: SlotHTMLAttributes[?], T] (val x: Self & SlotHTMLAttributes[T]) extends AnyVal {
inline def setName(value: String): Self = StObject.set(x, "name", value.asInstanceOf[js.Any])
inline def setNameUndefined: Self = StObject.set(x, "name", js.undefined)
}
}