DropdownIndicator

A component that renders a chevron icon to indicate dropdown state, rotating when open.

Installation

import { DropdownIndicator } from 'uxp/components';

Signature

const DropdownIndicator: React.FunctionComponent<DropdownIndicatorProps>

Examples

<DropdownIndicator isOpen={false} />
<DropdownIndicator
  isOpen={true}
  className="custom-indicator"
  styles={{ fontSize: '12px', color: '#333' }}
/>

Properties

Name
Type
Mandatory
Default Value
Example Value

isOpen

boolean

Yes

-

-

styles

React.CSSProperties

No

-

-

className

string

No

-

-

Last updated