Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
const increaseDisabled = adjustedValue >= max;
return (
);
};
const BpkSectionHeader = (props: Props) => (
);
return (
);
};
accessibilityTraits.push('disabled');
}
return (
{title}
);
};
icon={icons[title.icon]}
small
style={[
isLeading ? styles.leadingIcon : styles.trailingIcon,
{ color: tintColor },
]}
/>
);
}
return (
);
};
return (
);
};
}
return (
);
};
accessibilityComponentType="button"
accessibilityLabel={accessibilityLabel || title}
accessibilityTraits={accessibilityTraits}
borderRadius="pill"
disabled={disabled}
onPress={onPress}
{...rest}
>
);
};