/home/techb158/balacoffee.com/wp-content/themes/Divi/common/stories/controls
NameSizeModeActions
input/-0755rm
ripple/-0755rm
button-group.stories.js16580644editdlrm
button.stories.js12240644editdlrm
categories.stories.js15460644editdlrm
codemirror.stories.js15850644editdlrm
color.stories.js17070644editdlrm
range.stories.js12590644editdlrm
select-advanced.stories.js38140644editdlrm
select-menu.stories.js30790644editdlrm
tags.stories.js18420644editdlrm
toggle.stories.js8720644editdlrm
Edit: /home/techb158/balacoffee.com/wp-content/themes/Divi/common/stories/controls/range.stories.js (1259B)
import React from 'react'; import ETCoreRange from '../../controls/range/range'; export default { title: 'Controls/ETCoreRange', component: ETCoreRange, render: (args) => { const { range_min: min, range_max: max, range_step: step } = args; return ( { console.log(e); }} range_settings={{ min, max, step, }} /> ); }, argTypes: { range_settings: { control: false, }, range_min: { control: { type: 'number', }, }, range_max: { control: { type: 'number', }, }, range_step: { control: { type: 'number', }, }, }, }; export const Default = { args: { name: 'default-range', range_min: 0, range_max: 100, range_step: 1, }, }; export const WithCustomUnit = { args: { ...Default.args, name: 'custom-unit-range', default_unit: '%', }, }; export const WithCustomRange = { args: { ...Default.args, name: 'custom-range', }, }; export const WithPrecision = { args: { ...Default.args, name: 'precision-range', precision: 2, }, };