@s-ui/react-atom-input
Version:
> Inputs are the text fields that users fill in with different types of information. These include dates, passwords or even short answers. It’s a field where users can write alphanumeric texts.
12 lines • 400 B
JavaScript
import cx from 'classnames';
import { BASE } from '../../../config.js';
export var BASE_CLASS_ADDON = BASE + "--withAddon";
export var BASE_CLASS_ADDON_WRAPPER = BASE_CLASS_ADDON + "Wrapper";
export var ADDON_TYPES = {
LEFT: 'left',
RIGHT: 'right'
};
export var getClassName = function getClassName(_ref) {
var type = _ref.type;
return cx(BASE_CLASS_ADDON, BASE_CLASS_ADDON + "--" + type);
};