UNPKG

@ozen-ui/kit

Version:

React component library

16 lines (15 loc) 702 B
import { __assign, __rest } from "tslib"; import React, { forwardRef } from 'react'; import { useThemeProps } from '../../../../hooks/useThemeProps'; import { cn } from '../../../../utils'; import { Input } from '../../../Input'; export var cnHeaderInput = cn('HeaderInput'); export var HeaderInput = forwardRef(function (inProps, ref) { var props = useThemeProps({ props: inProps, name: 'HeaderInput', }); var className = props.className, other = __rest(props, ["className"]); return (React.createElement(Input, __assign({}, other, { ref: ref, size: "s", disableStroke: true, className: cnHeaderInput('', [className]) }))); }); HeaderInput.displayName = 'HeaderInput';