sidebar

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 -
	Children any //  // React.ReactNode
	// HasNoBackground - Removes the background color. Optional.
	HasNoBackground bool
}

type PanelProps

type PanelProps struct {
	// Children -
	Children any //  // React.ReactNode
	// Variant - Indicates whether the panel is positioned statically or sticky to the top. Default is sticky
	// on small screens when the orientation is stack, and static on medium and above screens when the orientation
	// is split. Optional.
	Variant any //  /* "default" | "sticky" | "static" */
	// HasNoBackground - Removes the background color. Optional.
	HasNoBackground bool
	// Width - Sets the panel width at various breakpoints. Default is 250px when the orientation is split. Optional.
	Width map[string]string /* { default:{ default, width_25, width_33, width_50, width_66, width_75, width_100 }, sm:{ default, width_25, width_33, width_50, width_66, width_75, width_100 }, md:{ default, width_25, width_33, width_50, width_66, width_75, width_100 }, lg:{ default, width_25, width_33, width_50, width_66, width_75, width_100 }, xl:{ default, width_25, width_33, width_50, width_66, width_75, width_100 }, 2xl:{ default, width_25, width_33, width_50, width_66, width_75, width_100 } } */
}

type Props

type Props struct {
	// Children - Optional.
	Children any //  // React.ReactNode
	// Orientation - Indicates the direction of the layout. Default orientation is stack on small screens, and
	// split on medium screens and above. Optional.
	Orientation any //  /* "stack" | "split" */
	// IsPanelRight - Indicates that the panel is displayed to the right of the content when the oritentation
	// is split. Optional.
	IsPanelRight bool
	// HasGutter - Adds space between the panel and content. Optional.
	HasGutter bool
	// HasNoBackground - Removes the background color. Optional.
	HasNoBackground bool
}

Jump to

Keyboard shortcuts

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