Skip to content

Commit

Permalink
docs: keep only an storybook example with the tooltip enabled for the…
Browse files Browse the repository at this point in the history
… Slider
  • Loading branch information
dgonzalezr committed Apr 13, 2024
1 parent e8ecdd2 commit 60d2c89
Showing 1 changed file with 13 additions and 19 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -78,15 +78,6 @@ export const Default: Story = {
},
};

export const DefaultWithTooltip: Story = {
render: Template,
args: {
value: 65,
'enable-tooltip': true,
'tooltip-always-visible': true,
},
};

export const Range: Story = {
render: Template,
args: {
Expand All @@ -95,16 +86,6 @@ export const Range: Story = {
},
};

export const RangeWithTooltip: Story = {
render: Template,
args: {
value: [25, 75],
type: 'range',
'enable-tooltip': true,
'tooltip-always-visible': true,
},
};

export const Disabled: Story = {
render: Template,
args: {
Expand Down Expand Up @@ -159,3 +140,16 @@ export const DecimalValues: Story = {
value: [0.3, 0.7],
},
};

export const WithTooltip: Story = {
render: Template,
args: {
'enable-tooltip': true,
gap: 10,
max: 100,
min: 0,
step: 1,
type: 'range',
value: [30, 70],
},
};

0 comments on commit 60d2c89

Please sign in to comment.