Remove unused
This commit is contained in:
@@ -54,12 +54,6 @@ type Props = {
|
|||||||
accessibilityHint?: string
|
accessibilityHint?: string
|
||||||
}
|
}
|
||||||
|
|
||||||
/* The `NativeDropdown` function uses native iOS and Android dropdown menus.
|
|
||||||
* It also creates a animated custom dropdown for web that uses
|
|
||||||
* Radix UI primitives under the hood
|
|
||||||
* @prop {DropdownItem[]} items - An array of dropdown items
|
|
||||||
* @prop {React.ReactNode} children - A custom dropdown trigger
|
|
||||||
*/
|
|
||||||
export function NativeDropdown({
|
export function NativeDropdown({
|
||||||
items,
|
items,
|
||||||
children,
|
children,
|
||||||
@@ -116,7 +110,7 @@ export function NativeDropdown({
|
|||||||
accessibilityRole="button"
|
accessibilityRole="button"
|
||||||
accessibilityLabel={accessibilityLabel}
|
accessibilityLabel={accessibilityLabel}
|
||||||
accessibilityHint={accessibilityHint}
|
accessibilityHint={accessibilityHint}
|
||||||
style={({pressed}) => [{opacity: pressed ? 0.5 : 1}]}
|
style={({pressed}) => ({opacity: pressed ? 0.5 : 1})}
|
||||||
hitSlop={HITSLOP_10}>
|
hitSlop={HITSLOP_10}>
|
||||||
{children}
|
{children}
|
||||||
</Pressable>
|
</Pressable>
|
||||||
|
|||||||
Reference in New Issue
Block a user