You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
| theme | Theme of the component | "light" \| "dark" |
595
+
| backgroundColor | Main background color | string |
596
+
| text | Base text style | TextStyle |
597
+
| pickerLabelGap | Pixel gap between the label and the picker number column. Can be a single number or a per-column object (e.g. `{ hours: 10, minutes: 8 }`). Default: `6`|`PerColumnValue`\*|
598
+
| pickerColumnWidth | Width of individual picker columns in pixels. Can be a single number or a per-column object. Overrides default flex-based sizing when set |`PerColumnValue`\*|
599
+
| labelOffsetPercentage **(DEPRECATED)**| Percentage offset for horizontal label positioning relative to the picker (use `pickerLabelGap` instead) | number |
| theme | Theme of the component | "light" \| "dark" |
590
-
| backgroundColor | Main background color | string |
591
-
| text | Base text style | TextStyle |
592
-
| labelOffsetPercentage | Percentage offset for horizonal label positioning relative to the picker | number |
601
+
**\*`PerColumnValue` type:**`number | { days?: number, hours?: number, minutes?: number, seconds?: number }` — pass a single number for all columns, or an object to set values per column. Omitted columns use the default.
593
602
594
603
For deeper style customization, you can supply the following custom styles to adjust the component in any way. These are applied on top of the default styling so take a look at those [styles](src/components/TimerPicker/styles.ts) if something isn't adjusting in the way you'd expect.
0 commit comments