All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.olvind.mui.react.mod.FunctionComponent.scala Maven / Gradle / Ivy

package com.olvind.mui.react.mod

import com.olvind.mui.std.Partial
import org.scalablytyped.runtime.StObject
import scala.scalajs.js
import scala.scalajs.js.annotation.{JSGlobalScope, JSGlobal, JSImport, JSName, JSBracketAccess}

@js.native
trait FunctionComponent[P] extends StObject {
  
  def apply(props: P): slinky.core.facade.ReactElement | Null = js.native
  def apply(props: P, context: Any): slinky.core.facade.ReactElement | Null = js.native
  
  var contextTypes: js.UndefOr[ValidationMap[Any]] = js.native
  
  var defaultProps: js.UndefOr[Partial[P]] = js.native
  
  var displayName: js.UndefOr[String] = js.native
  
  var propTypes: js.UndefOr[WeakValidationMap[P]] = js.native
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy