react-credit-calculator-slider
v3.0.0
Published
rc-slider integration for react-credit-calculator
Downloads
11
Maintainers
Readme
React Credit Calculator
Features
- Integrates rc-slider with react-credit-calculator context
- Written on Typescript
Installation
Using npm
npm i react-credit-calculator-slider@^2.0
Usage
import * as React from "react";
import * as Calculator from "react-credit-calculator";
import { Slider } from "react-credit-calculator-slider";
const conditions: Calculator.ControllerProps;
return (
<Calculator.Controller {...conditions}>
{/** Controls for amount */}
<Calculator.ControlWrapper type="amount">
<Slider /> {/** See rc-slider for more props */}
</Calculator.ControlWrapper>
</Calculator.Controller>
);