Loading
Props
loading
Displays an ActivityIndicator when the items aren't loaded yet.
const [loading, setLoading] = useState(false);
<DropDownPicker
  loading={loading}
  ...
/>
| Type | Default | 
|---|---|
| bool | false | 
ActivityIndicatorComponent
Customizes the ActivityIndicator.
ActivityIndicatorComponent={({color, size}) => (
  <ActivityIndicator color={color} size={size} />
)}
| Type | 
|---|
| function | 
activityIndicatorColor
Changes the default color of the ActivityIndicator.
activityIndicatorColor="red"
| Type | Default | 
|---|---|
| string | grey | 
activityIndicatorSize
Changes the default size of the ActivityIndicator.
activityIndicatorSize={30}
| Type | Default | 
|---|---|
| number | 30 |