import React, { forwardRef, HTMLAttributes } from 'react' import PropTypes from 'prop-types' import classNames from 'classnames' export interface CInputGroupProps extends HTMLAttributes { /** * A string of all className you want applied to the component. */ className?: string /** * Size the component small or large. */ size?: 'sm' | 'lg' } export const CInputGroup = forwardRef( ({ children, className, size, ...rest }, ref) => { return (
{children}
) } ) CInputGroup.propTypes = { children: PropTypes.node, className: PropTypes.string, size: PropTypes.oneOf(['sm', 'lg']), } CInputGroup.displayName = 'CInputGroup'