Skip to content

Commit

Permalink
chore(date_picker_range): add a VRT for the full width variant (#8194)
Browse files Browse the repository at this point in the history
  • Loading branch information
weronikaolejniczak authored Nov 28, 2024
1 parent efcafc8 commit ab3c0d5
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 0 deletions.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,24 @@ export const RestrictedSelection: Story = {
render: (args) => <StatefulPlayground {...args} />,
};

/**
* VRT only stories
*/

export const FullWidth: Story = {
tags: ['vrt-only'],
args: {
startDateControl: <EuiDatePicker />,
endDateControl: <EuiDatePicker />,
fullWidth: true,
},
render: (args) => <StatefulPlayground {...args} />,
};

/**
* Helpers
*/

const StatefulPlayground = ({
startDateControl,
endDateControl,
Expand Down

0 comments on commit ab3c0d5

Please sign in to comment.