overflowmenu

package
v0.0.12 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 26, 2022 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ContentProps

type ContentProps struct {
	// Children - Any elements that can be rendered in the menu. Optional.
	Children any //
	// ClassName - Additional classes added to the OverflowMenuContent. Optional.
	ClassName string
	// IsPersistent - Modifies the overflow menu content visibility. Optional.
	IsPersistent bool
}

type ControlProps

type ControlProps struct {
	// Children - Any elements that can be rendered in the menu. Optional.
	Children any //
	// ClassName - Additional classes added to the OverflowMenuControl. Optional.
	ClassName string
	// HasAdditionalOptions - Triggers the overflow dropdown to persist at all viewport sizes. Optional.
	HasAdditionalOptions bool
}
type DropdownItemProps struct {
	// IsShared - Indicates when a dropdown item shows and hides the corresponding list item. Optional.
	IsShared bool
	// Index - Indicates the index of the list item. Optional.
	Index int
}

type GroupProps

type GroupProps struct {
	// Children - Any elements that can be rendered in the menu. Optional.
	Children any //
	// ClassName - Additional classes added to the OverflowMenuGroup. Optional.
	ClassName string
	// IsPersistent - Modifies the overflow menu group visibility. Optional.
	IsPersistent bool
	// GroupType - Indicates a button or icon group. Optional.
	GroupType any //  /* "button" | "icon" */
}

type ItemProps

type ItemProps struct {
	// Children - Any elements that can be rendered in the menu. Optional.
	Children any //
	// ClassName - Additional classes added to the OverflowMenuItem. Optional.
	ClassName string
	// IsPersistent - Modifies the overflow menu item visibility. Optional.
	IsPersistent bool
}

type Props

type Props struct {
	// Children - Any elements that can be rendered in the menu. Optional.
	Children any //
	// ClassName - Additional classes added to the OverflowMenu. Optional.
	ClassName string
	// Breakpoint - Indicates breakpoint at which to switch between horizontal menu and vertical dropdown.
	Breakpoint any //  /* "md" | "lg" | "xl" | "2xl" */
}

type State

type State struct {
	// IsBelowBreakpoint -
	IsBelowBreakpoint bool
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL