@dfeidao/fd-m000020
TypeScript icon, indicating that this package has built-in type declarations

4.6.201907101821 • Public • Published

数字滑块

import Slider from '@dfeidao/fd-m000020';

<Slider
	step={1}
	style={{ width: 200, height: 40 }}
	disabled={false}
	leftColor={'#ef5b9c'}
	rightColor={'#2b4490'}
	maxValue={d('maxValue')}
	minValue={d('minValue')}
	value={d('value')}
	onChange={a('a001')}
/>

Installation

yarn add --dev @dfeidao/fd-m000020

Attributes

disabled

禁用

leftColor

左侧滑块颜色

rightColor

右侧滑块颜色

maxValue

最大值

minValue

最小值

value

默认值

step

滑块的成长值 默认1

style

滑块样式

onChange

value改变事件

Dependencies (1)

Dev Dependencies (0)

    Package Sidebar

    Install

    npm i @dfeidao/fd-m000020

    Weekly Downloads

    1

    Version

    4.6.201907101821

    License

    MIT

    Unpacked Size

    4.58 kB

    Total Files

    7

    Last publish

    Collaborators

    • taoqf