react-native-ui-lib icon indicating copy to clipboard operation
react-native-ui-lib copied to clipboard

Allow passing counter style to adjust margins of carousel component

Open alwaysintune opened this issue 2 months ago • 1 comments

Description

Adds a new counterContainerStyle prop to the Carousel component to allow customization of the counter container's styling. This complements the existing counterTextStyle prop by enabling developers to adjust the counter container's appearance (margins, padding, positioning, background, etc.) while counterTextStyle continues to control the text styling inside the counter.

Changelog

Carousel - Added counterContainerStyle prop (StyleProp<ViewStyle>) to customize the counter container's style. This allows adjusting margins, padding, positioning, and other visual properties of the counter container when showCounter is enabled.

Additional info

This enhancement provides more flexibility for customizing the counter appearance, particularly useful for adjusting margins and positioning to match different design requirements or layouts.

alwaysintune avatar Nov 05 '25 12:11 alwaysintune