Skip to content

Commit

Permalink
Merge branch 'patch/v1.5.4'
Browse files Browse the repository at this point in the history
  • Loading branch information
troberts-28 committed Mar 1, 2024
2 parents 27296cf + 2bfac95 commit 7e633b0
Show file tree
Hide file tree
Showing 4 changed files with 42 additions and 22 deletions.
50 changes: 30 additions & 20 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,26 +11,26 @@ Great for timers, alarms and duration inputs ⏰🕰️⏳

Works with Expo and bare React Native apps.

- [Demos 📱](#demos-)
- [Peer Dependencies 👶](#peer-dependencies-)
- [Installation 🚀](#installation-)
- [Examples 😎](#examples-)
- [Timer Picker Modal (Dark Mode) 🌚](#timer-picker-modal-dark-mode-)
- [Timer Picker Modal (Light Mode) 🌞](#timer-picker-modal-light-mode-)
- [Timer Picker with Customisation (Dark Mode) 🌒](#timer-picker-with-customisation-dark-mode-)
- [Timer Picker with Customisation (Light Mode) 🌔](#timer-picker-with-customisation-light-mode-)
- [Props 💅](#props-)
- [TimerPicker ⏲️](#timerpicker-️)
- [Custom Styles 👗](#custom-styles-)
- [TimerPickerModal ⏰](#timerpickermodal-)
- [Custom Styles 👕](#custom-styles--1)
- [Methods 🔄](#methods-)
- [TimerPicker](#timerpicker)
- [TimerPickerModal](#timerpickermodal)
- [Contributing 🧑‍🤝‍🧑](#contributing-)
- [Dev Setup](#dev-setup)
- [GitHub Guidelines](#github-guidelines)
- [License 📝](#license-)
- [Demos 📱](#demos-)
- [Peer Dependencies 👶](#peer-dependencies-)
- [Installation 🚀](#installation-)
- [Examples 😎](#examples-)
- [Timer Picker Modal (Dark Mode) 🌚](#timer-picker-modal-dark-mode-)
- [Timer Picker Modal (Light Mode) 🌞](#timer-picker-modal-light-mode-)
- [Timer Picker with Customisation (Dark Mode) 🌒](#timer-picker-with-customisation-dark-mode-)
- [Timer Picker with Customisation (Light Mode) 🌔](#timer-picker-with-customisation-light-mode-)
- [Props 💅](#props-)
- [TimerPicker ⏲️](#timerpicker-️)
- [Custom Styles 👗](#custom-styles-)
- [TimerPickerModal ⏰](#timerpickermodal-)
- [Custom Styles 👕](#custom-styles--1)
- [Methods 🔄](#methods-)
- [TimerPicker](#timerpicker)
- [TimerPickerModal](#timerpickermodal)
- [Contributing 🧑‍🤝‍🧑](#contributing-)
- [Dev Setup](#dev-setup)
- [GitHub Guidelines](#github-guidelines)
- [License 📝](#license-)

<br>

Expand Down Expand Up @@ -260,6 +260,16 @@ return (
pickerContainer: {
marginRight: 6,
},
pickerItemContainer: {
width: 100
},
pickerLabelContainer: {
right: -20,
top: 0,
bottom: 6,
width: 40,
alignItems: "center",
},
}}
/>
</View>
Expand Down
10 changes: 10 additions & 0 deletions example/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -205,6 +205,16 @@ export default function App() {
pickerContainer: {
marginRight: 6,
},
pickerItemContainer: {
width: 100
},
pickerLabelContainer: {
right: -20,
top: 0,
bottom: 6,
width: 40,
alignItems: "center",
},
}}
/>
</View>
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"url": "https://github.com/troberts-28"
},
"license": "MIT",
"version": "1.5.3",
"version": "1.5.4",
"main": "dist/commonjs/index.js",
"types": "dist/typescript/src/index.d.ts",
"scripts": {
Expand Down
2 changes: 1 addition & 1 deletion src/components/TimerPicker/DurationScroll.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -339,7 +339,7 @@ const DurationScroll = forwardRef<DurationScrollRef, DurationScrollProps>(
style={{
height:
styles.pickerItemContainer.height * numberOfItemsToShow,
overflow: "hidden",
overflow: "visible",
}}>
<FlatList
ref={flatListRef}
Expand Down

0 comments on commit 7e633b0

Please sign in to comment.