Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix!: Label is mandatory for TimePicker component #2629

Merged
merged 13 commits into from
Oct 27, 2023
1 change: 1 addition & 0 deletions src/components/forms/TimePicker/TimePicker.stories.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@ export const defaultTimePicker = (
<TimePicker
id="appointment-time"
name="appointment-time"
label="Appointment Time"
brandonlenz marked this conversation as resolved.
Show resolved Hide resolved
onChange={noop}
disabled={argTypes.disabled}
/>
Expand Down
2 changes: 1 addition & 1 deletion src/components/forms/TimePicker/TimePicker.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ type BaseTimePickerProps = {
id: string
name: string
onChange: (val?: string) => void
label?: string
label: string
defaultValue?: string
disabled?: boolean
minTime?: string
Expand Down
Loading