| 1 |
import { __rest } from "tslib"; |
| 2 |
import { jsx as _jsx } from "react/jsx-runtime"; |
| 3 |
import styles from '@patternfly/react-styles/css/components/InputGroup/input-group.mjs'; |
| 4 |
import { css } from '@patternfly/react-styles'; |
| 5 |
import { InputGroupItem } from './InputGroupItem'; |
| 6 |
export const InputGroupText = (_a) => { |
| 7 |
var { className, component = 'span', children, isPlain, isDisabled } = _a, props = __rest(_a, ["className", "component", "children", "isPlain", "isDisabled"]); |
| 8 |
const Component = component; |
| 9 |
return (_jsx(InputGroupItem, { isPlain: isPlain, isBox: true, isDisabled: isDisabled, children: _jsx(Component, Object.assign({ className: css(styles.inputGroupText, className) }, props, { children: children })) })); |
| 10 |
}; |
| 11 |
InputGroupText.displayName = 'InputGroupText'; |
| 12 |
//# sourceMappingURL=InputGroupText.js.map |