ldx-widgets
Version:
widgets
51 lines (37 loc) • 832 B
Markdown
[<< Component Index](../README.md)
# Chevron `/src/components/chevron.coffee`
## Props
### onClick
**`Function`**
_Optional_
handle click events
### positionClass
**`String`**
_Optional_
add a CSS class to adjust element positioning
### invertOnClick
**`Boolean`**
_Optional_
determines whether or not the element is inverted on click event
### defaultOrientation
**`String`**
_Optional_
Accepts values `up`, `left`, `down`, or `right` to set the default direction
### isInverted
**`Boolean`**
_Optional_
determines whether or not the chevron is in an inverted state
### animationDuration
**`Number`**
_Optional_
duration in milliseconds determining how long the animation takes to complete
### color
**`String`**
_Optional_
hex/rgba color to fill the chevron