A next-generation tool to create blazing-fast documentation sites
API
created:12/30/2020
updated:12/30/2020
loc
5
comments
0

Number

@component-controls/core
3.14.6
import { NumberControl } from '@component-controls/core';

Range

A story with a range type numeric property control

10
Name
Description
Default
Controls
value

a numeric control

number
-
310 / 22
Name
Description
Default
ComponentControlNumber(5 properties)
type
ControlTypes.NUMBER
-
range

if true, will display a range type slider editor

boolean
-
min

minimum allowed value for numeric property

number
-
max

maximum allowed value for numeric property

number
-
step

stepper for numeric editor /i nc/dec value

number
-
ComponentControlBase(9 properties)

Commits

Date
Author
Commit Message
6/16/2020

atanasster

avatar of atanasster
chore: merge specification into core package
1 commits
file
imports
"../../controls"
ComponentControlNumber
"./types"
AsReactComponent

Stories

Overview

A simple story with a numeric property control

10

Step

A story with a numeric property control with custom step value

10