divider

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 Props

type Props struct {
	// ClassName - Additional classes added to the divider. Optional.
	ClassName string
	// Component - The component type to use. Optional.
	Component any //  /* "hr" | "li" | "div" */
	// IsVertical - Optional.
	IsVertical bool
	// Inset - Insets at various breakpoints. Optional.
	Inset map[string]string /* { default:{ insetNone, insetXs, insetSm, insetMd, insetLg, insetXl, inset2xl, inset3xl }, sm:{ insetNone, insetXs, insetSm, insetMd, insetLg, insetXl, inset2xl, inset3xl }, md:{ insetNone, insetXs, insetSm, insetMd, insetLg, insetXl, inset2xl, inset3xl }, lg:{ insetNone, insetXs, insetSm, insetMd, insetLg, insetXl, inset2xl, inset3xl }, xl:{ insetNone, insetXs, insetSm, insetMd, insetLg, insetXl, inset2xl, inset3xl }, 2xl:{ insetNone, insetXs, insetSm, insetMd, insetLg, insetXl, inset2xl, inset3xl } } */
	// Orientation - Indicates how the divider will display at various breakpoints. Vertical divider must be
	// in a flex layout. Optional.
	Orientation map[string]string /* { default:{ vertical, horizontal }, sm:{ vertical, horizontal }, md:{ vertical, horizontal }, lg:{ vertical, horizontal }, xl:{ vertical, horizontal }, 2xl:{ vertical, horizontal } } */
}

Jump to

Keyboard shortcuts

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