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

com.olvind.mui.muiBase.anon.DisplayedRows.scala Maven / Gradle / Ivy

package com.olvind.mui.muiBase.anon

import com.olvind.mui.muiBase.tablePaginationUnstyledTablePaginationUnstyledDottypesMod.TablePaginationUnstyledComponentsPropsOverrides
import com.olvind.mui.muiBase.tablePaginationUnstyledTablePaginationUnstyledDottypesMod.TablePaginationUnstyledOwnerState
import com.olvind.mui.muiBase.utilsTypesMod.SlotComponentProps
import com.olvind.mui.react.mod.ComponentPropsWithRef
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}

trait DisplayedRows extends StObject {
  
  var actions: js.UndefOr[
    SlotComponentProps[
      "div", 
      TablePaginationUnstyledComponentsPropsOverrides, 
      TablePaginationUnstyledOwnerState
    ]
  ] = js.undefined
  
  var displayedRows: js.UndefOr[
    SlotComponentProps[
      "p", 
      TablePaginationUnstyledComponentsPropsOverrides, 
      TablePaginationUnstyledOwnerState
    ]
  ] = js.undefined
  
  var menuItem: js.UndefOr[
    SlotComponentProps[
      "option", 
      TablePaginationUnstyledComponentsPropsOverrides, 
      TablePaginationUnstyledOwnerState
    ]
  ] = js.undefined
  
  var root: js.UndefOr[
    SlotComponentProps[
      "div", 
      TablePaginationUnstyledComponentsPropsOverrides, 
      TablePaginationUnstyledOwnerState
    ]
  ] = js.undefined
  
  var select: js.UndefOr[
    SlotComponentProps[
      "select", 
      TablePaginationUnstyledComponentsPropsOverrides, 
      TablePaginationUnstyledOwnerState
    ]
  ] = js.undefined
  
  var selectLabel: js.UndefOr[
    SlotComponentProps[
      "p", 
      TablePaginationUnstyledComponentsPropsOverrides, 
      TablePaginationUnstyledOwnerState
    ]
  ] = js.undefined
  
  var spacer: js.UndefOr[
    SlotComponentProps[
      "div", 
      TablePaginationUnstyledComponentsPropsOverrides, 
      TablePaginationUnstyledOwnerState
    ]
  ] = js.undefined
  
  var toolbar: js.UndefOr[
    SlotComponentProps[
      "div", 
      TablePaginationUnstyledComponentsPropsOverrides, 
      TablePaginationUnstyledOwnerState
    ]
  ] = js.undefined
}
object DisplayedRows {
  
  inline def apply(): DisplayedRows = {
    val __obj = js.Dynamic.literal()
    __obj.asInstanceOf[DisplayedRows]
  }
  
  @scala.inline
  implicit open class MutableBuilder[Self <: DisplayedRows] (val x: Self) extends AnyVal {
    
    inline def setActions(
      value: SlotComponentProps[
          "div", 
          TablePaginationUnstyledComponentsPropsOverrides, 
          TablePaginationUnstyledOwnerState
        ]
    ): Self = StObject.set(x, "actions", value.asInstanceOf[js.Any])
    
    inline def setActionsFunction1(
      value: TablePaginationUnstyledOwnerState => Partial[ComponentPropsWithRef["div"]] & TablePaginationUnstyledComponentsPropsOverrides
    ): Self = StObject.set(x, "actions", js.Any.fromFunction1(value))
    
    inline def setActionsUndefined: Self = StObject.set(x, "actions", js.undefined)
    
    inline def setDisplayedRows(
      value: SlotComponentProps[
          "p", 
          TablePaginationUnstyledComponentsPropsOverrides, 
          TablePaginationUnstyledOwnerState
        ]
    ): Self = StObject.set(x, "displayedRows", value.asInstanceOf[js.Any])
    
    inline def setDisplayedRowsFunction1(
      value: TablePaginationUnstyledOwnerState => Partial[ComponentPropsWithRef["p"]] & TablePaginationUnstyledComponentsPropsOverrides
    ): Self = StObject.set(x, "displayedRows", js.Any.fromFunction1(value))
    
    inline def setDisplayedRowsUndefined: Self = StObject.set(x, "displayedRows", js.undefined)
    
    inline def setMenuItem(
      value: SlotComponentProps[
          "option", 
          TablePaginationUnstyledComponentsPropsOverrides, 
          TablePaginationUnstyledOwnerState
        ]
    ): Self = StObject.set(x, "menuItem", value.asInstanceOf[js.Any])
    
    inline def setMenuItemFunction1(
      value: TablePaginationUnstyledOwnerState => Partial[ComponentPropsWithRef["option"]] & TablePaginationUnstyledComponentsPropsOverrides
    ): Self = StObject.set(x, "menuItem", js.Any.fromFunction1(value))
    
    inline def setMenuItemUndefined: Self = StObject.set(x, "menuItem", js.undefined)
    
    inline def setRoot(
      value: SlotComponentProps[
          "div", 
          TablePaginationUnstyledComponentsPropsOverrides, 
          TablePaginationUnstyledOwnerState
        ]
    ): Self = StObject.set(x, "root", value.asInstanceOf[js.Any])
    
    inline def setRootFunction1(
      value: TablePaginationUnstyledOwnerState => Partial[ComponentPropsWithRef["div"]] & TablePaginationUnstyledComponentsPropsOverrides
    ): Self = StObject.set(x, "root", js.Any.fromFunction1(value))
    
    inline def setRootUndefined: Self = StObject.set(x, "root", js.undefined)
    
    inline def setSelect(
      value: SlotComponentProps[
          "select", 
          TablePaginationUnstyledComponentsPropsOverrides, 
          TablePaginationUnstyledOwnerState
        ]
    ): Self = StObject.set(x, "select", value.asInstanceOf[js.Any])
    
    inline def setSelectFunction1(
      value: TablePaginationUnstyledOwnerState => Partial[ComponentPropsWithRef["select"]] & TablePaginationUnstyledComponentsPropsOverrides
    ): Self = StObject.set(x, "select", js.Any.fromFunction1(value))
    
    inline def setSelectLabel(
      value: SlotComponentProps[
          "p", 
          TablePaginationUnstyledComponentsPropsOverrides, 
          TablePaginationUnstyledOwnerState
        ]
    ): Self = StObject.set(x, "selectLabel", value.asInstanceOf[js.Any])
    
    inline def setSelectLabelFunction1(
      value: TablePaginationUnstyledOwnerState => Partial[ComponentPropsWithRef["p"]] & TablePaginationUnstyledComponentsPropsOverrides
    ): Self = StObject.set(x, "selectLabel", js.Any.fromFunction1(value))
    
    inline def setSelectLabelUndefined: Self = StObject.set(x, "selectLabel", js.undefined)
    
    inline def setSelectUndefined: Self = StObject.set(x, "select", js.undefined)
    
    inline def setSpacer(
      value: SlotComponentProps[
          "div", 
          TablePaginationUnstyledComponentsPropsOverrides, 
          TablePaginationUnstyledOwnerState
        ]
    ): Self = StObject.set(x, "spacer", value.asInstanceOf[js.Any])
    
    inline def setSpacerFunction1(
      value: TablePaginationUnstyledOwnerState => Partial[ComponentPropsWithRef["div"]] & TablePaginationUnstyledComponentsPropsOverrides
    ): Self = StObject.set(x, "spacer", js.Any.fromFunction1(value))
    
    inline def setSpacerUndefined: Self = StObject.set(x, "spacer", js.undefined)
    
    inline def setToolbar(
      value: SlotComponentProps[
          "div", 
          TablePaginationUnstyledComponentsPropsOverrides, 
          TablePaginationUnstyledOwnerState
        ]
    ): Self = StObject.set(x, "toolbar", value.asInstanceOf[js.Any])
    
    inline def setToolbarFunction1(
      value: TablePaginationUnstyledOwnerState => Partial[ComponentPropsWithRef["div"]] & TablePaginationUnstyledComponentsPropsOverrides
    ): Self = StObject.set(x, "toolbar", js.Any.fromFunction1(value))
    
    inline def setToolbarUndefined: Self = StObject.set(x, "toolbar", js.undefined)
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy