Skip to content

Commit

Permalink
feat: add SliderComponent for landing
Browse files Browse the repository at this point in the history
  • Loading branch information
Arucard89 committed May 7, 2024
1 parent ecf464d commit 0af7bb0
Showing 1 changed file with 16 additions and 16 deletions.
32 changes: 16 additions & 16 deletions src/components/Slider/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ Slider with one handle to select single value. This Slider is used by default.
<Slider />
`}
>
<UIKit.Slider/>
<UIKit.SliderComponent />
</ExampleBlock>
LANDING_BLOCK-->

Expand All @@ -44,7 +44,7 @@ Slider with two handles to select range. To use this slider you should set `defa
<Slider defaultValue={[20, 40]} />
`}
>
<UIKit.Slider defaultValue={[20, 40]} />
<UIKit.SliderComponent defaultValue={[20, 40]} />
</ExampleBlock>
LANDING_BLOCK-->

Expand All @@ -68,7 +68,7 @@ The state of the `Slider` where you don't want the user to be able to interact w
<Slider disabled={true} />
`}
>
<UIKit.Slider disabled={true} />
<UIKit.SliderComponent disabled={true} />
</ExampleBlock>
LANDING_BLOCK-->

Expand All @@ -91,8 +91,8 @@ The state of the `Slider` in which you want to indicate incorrect user input. To
<Slider validationState={"invalid"} errorMessage="Error message" />
`}
>
<UIKit.Slider validationState={"invalid"} />
<UIKit.Slider validationState={"invalid"} errorMessage="Error message" />
<UIKit.SliderComponent validationState={"invalid"} />
<UIKit.SliderComponent validationState={"invalid"} errorMessage="Error message" />
</ExampleBlock>
LANDING_BLOCK-->

Expand All @@ -118,10 +118,10 @@ To control the size of the `Slider` use the `size` property. Default size is `m`
<Slider size="xl" />
`}
>
<UIKit.Slider size="s" />
<UIKit.Slider size="m" />
<UIKit.Slider size="l" />
<UIKit.Slider size="xl" />
<UIKit.SliderComponent size="s" />
<UIKit.SliderComponent size="m" />
<UIKit.SliderComponent size="l" />
<UIKit.SliderComponent size="xl" />
</ExampleBlock>
LANDING_BLOCK-->

Expand Down Expand Up @@ -150,9 +150,9 @@ The `min` and `max` properties define the limits of the range that the `Slider`
<Slider min={20} max={60} />
`}
>
<UIKit.Slider min={10} />
<UIKit.Slider max={50} />
<UIKit.Slider min={20} max={60} />
<UIKit.SliderComponent min={10} />
<UIKit.SliderComponent max={50} />
<UIKit.SliderComponent min={20} max={60} />
</ExampleBlock>
LANDING_BLOCK-->

Expand All @@ -176,7 +176,7 @@ The `step` property for `Slider` component determines the incremental steps betw
<Slider step={10} />
`}
>
<UIKit.Slider step={10} />
<UIKit.SliderComponent step={10} />
</ExampleBlock>
LANDING_BLOCK-->

Expand All @@ -198,7 +198,7 @@ LANDING_BLOCK-->
<Slider marksCount={11} />
`}
>
<UIKit.Slider marksCount={11} />
<UIKit.SliderComponent marksCount={11} />
</ExampleBlock>
LANDING_BLOCK-->

Expand All @@ -222,7 +222,7 @@ The `availableValues` property is used in `Slider` component to define a set of
<Slider availableValues={[10, 20, 50, 55, 65, 80]} />
`}
>
<UIKit.Slider availableValues={[10, 20, 50, 55, 65, 80]} />
<UIKit.SliderComponent availableValues={[10, 20, 50, 55, 65, 80]} />
</ExampleBlock>
LANDING_BLOCK-->

Expand All @@ -244,7 +244,7 @@ The `hasTooltip` property is a boolean attribute used in `Slider` component to c
<Slider hasTooltip={true} />
`}
>
<UIKit.Slider hasTooltip={true} />
<UIKit.SliderComponent hasTooltip={true} />
</ExampleBlock>
LANDING_BLOCK-->

Expand Down

0 comments on commit 0af7bb0

Please sign in to comment.