How to use the rc-slider.name function in rc-slider

To help you get started, we’ve selected a few rc-slider examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github AxaGuilDEv / react-toolkit / packages / Form / Input / slider / src / Slider.js View on Github external
options: PropTypes.array.isRequired,
};

const defaultClassName = 'af-form__slider';
const defaultProps = {
  ...Constants.defaultProps,
};
const EnhancedComponent = withInput(
  defaultClassName,
  propTypes,
  defaultProps,
  handlers
)(CustomSlider);

EnhancedComponent.Clone = Input.Clone;
EnhancedComponent.displayName = Slider.name;

export default EnhancedComponent;

rc-slider

Slider UI component for React

MIT
Latest version published 28 days ago

Package Health Score

93 / 100
Full package analysis