Skip to content

Commit

Permalink
Keep linter happy
Browse files Browse the repository at this point in the history
  • Loading branch information
aaronrobertshaw committed Jul 12, 2022
1 parent 60755f5 commit 2860c5f
Showing 1 changed file with 8 additions and 12 deletions.
20 changes: 8 additions & 12 deletions packages/components/src/range-control/stories/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -166,9 +166,8 @@ const marksWithNegatives = [
* automatically generated or custom mark indicators can be provided by an
* `Array`.
*/
export const WithIntegerStepAndMarks: ComponentStory<
typeof RangeControl
> = MarkTemplate.bind( {} );
export const WithIntegerStepAndMarks: ComponentStory< typeof RangeControl > =
MarkTemplate.bind( {} );

WithIntegerStepAndMarks.args = {
label: 'Integer Step',
Expand All @@ -183,9 +182,8 @@ WithIntegerStepAndMarks.args = {
* `step` ticks. Marks may be automatically generated or custom mark indicators
* can be provided by an `Array`.
*/
export const WithDecimalStepAndMarks: ComponentStory<
typeof RangeControl
> = MarkTemplate.bind( {} );
export const WithDecimalStepAndMarks: ComponentStory< typeof RangeControl > =
MarkTemplate.bind( {} );

WithDecimalStepAndMarks.args = {
marks: [
Expand Down Expand Up @@ -219,9 +217,8 @@ WithNegativeMinimumAndMarks.args = {
* indicators can represent negative values as well. Marks may be automatically
* generated or custom mark indicators can be provided by an `Array`.
*/
export const WithNegativeRangeAndMarks: ComponentStory<
typeof RangeControl
> = MarkTemplate.bind( {} );
export const WithNegativeRangeAndMarks: ComponentStory< typeof RangeControl > =
MarkTemplate.bind( {} );

WithNegativeRangeAndMarks.args = {
marks: marksWithNegatives,
Expand All @@ -235,9 +232,8 @@ WithNegativeRangeAndMarks.args = {
* non-integer values. This may still be used in conjunction with `marks`
* rendering a visual representation of `step` ticks.
*/
export const WithAnyStepAndMarks: ComponentStory<
typeof RangeControl
> = MarkTemplate.bind( {} );
export const WithAnyStepAndMarks: ComponentStory< typeof RangeControl > =
MarkTemplate.bind( {} );

WithAnyStepAndMarks.args = {
marks: marksBase,
Expand Down

0 comments on commit 2860c5f

Please sign in to comment.