strapi-plugin-users-permissions
Version:
Protect your API with a full-authentication process based on JWT
25 lines (20 loc) • 404 B
JavaScript
import React from 'react';
import { Col } from 'reactstrap';
import PropTypes from 'prop-types';
import IntlInput from '../IntlInput';
const SizedInput = ({ size, ...rest }) => {
return (
<Col {...size}>
<IntlInput {...rest} />
</Col>
);
};
SizedInput.defaultProps = {
size: {
xs: '12',
},
};
SizedInput.propTypes = {
size: PropTypes.object,
};
export default SizedInput;