Skip to content

Commit f02fb69

Browse files
committed
add localizedTodayFooterButton story docs
1 parent bb69da7 commit f02fb69

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

src/DatePicker/__stories__/DatePicker.stories.js

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -234,8 +234,12 @@ weekdayStartEx.storyName = 'Weekday Start (Monday Start)';
234234
* - And localized non-empty string value for `todayAction.label`
235235
*
236236
* will show a footer action in the DatePicker popover.
237-
*
238237
* Clicking this button selects today's date and closes the popover.
238+
*
239+
* This button will not be shown if
240+
*
241+
* - `enableRangeSelection` is true
242+
* - OR if today's date is disabled
239243
* */
240244

241245
export const localizedTodayFooterButton = () => (

0 commit comments

Comments
 (0)