mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-12-12 20:57:12 +01:00
5592687df1
* Updating design tokens v1.8 and shadows * Adding missing stories * Some fixes and updates to css and stories * removing unneeded story * Fixing story order
35 lines
570 B
JavaScript
35 lines
570 B
JavaScript
import React from 'react';
|
|
import GasSlider from '.';
|
|
|
|
export default {
|
|
title: 'Components/App/GasCustomization/GasSlider',
|
|
id: __filename,
|
|
argTypes: {
|
|
onChange: {
|
|
action: 'onChange',
|
|
},
|
|
lowLabel: {
|
|
control: 'text',
|
|
},
|
|
highLabel: {
|
|
control: 'text',
|
|
},
|
|
value: {
|
|
control: 'number',
|
|
},
|
|
step: {
|
|
control: 'number',
|
|
},
|
|
max: {
|
|
control: 'number',
|
|
},
|
|
min: {
|
|
control: 'number',
|
|
},
|
|
},
|
|
};
|
|
|
|
export const DefaultStory = () => <GasSlider />;
|
|
|
|
DefaultStory.storyName = 'Default';
|