Skip to content

Commit

Permalink
refactor(slider): ♻️ remove orientation from verticalSlider
Browse files Browse the repository at this point in the history
  • Loading branch information
mcnaveen committed Jun 29, 2022
1 parent d65539f commit 2a8fcf2
Showing 1 changed file with 1 addition and 9 deletions.
10 changes: 1 addition & 9 deletions src/slider/stories/SliderSingleVertical.stories.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -30,22 +30,18 @@ export default {
} as Meta;

export const Default: Story = {
args: {
orientation: "vertical",
},
args: {},
};

export const ThumbTip: Story = {
args: {
orientation: "vertical",
label: "Thumb Tipped",
showTip: true,
},
};

export const MinMax: Story = {
args: {
orientation: "vertical",
label: "Min Max",
minValue: 20,
maxValue: 80,
Expand All @@ -54,23 +50,20 @@ export const MinMax: Story = {

export const Step: Story = {
args: {
orientation: "vertical",
label: "Stepped",
step: 10,
},
};

export const DefaultValue: Story = {
args: {
orientation: "vertical",
label: "Default Valued",
defaultValue: [80],
},
};

export const FormatOptions: Story = {
args: {
orientation: "vertical",
label: "Temperature Formatted",
formatOptions: {
style: "unit",
Expand All @@ -82,7 +75,6 @@ export const FormatOptions: Story = {

export const Disabled: Story = {
args: {
orientation: "vertical",
label: "Disabled",
isDisabled: true,
},
Expand Down

0 comments on commit 2a8fcf2

Please sign in to comment.