UNPKG

@chatui/core

Version:

The React library for Chatbot UI

17 lines 619 B
import _extends from "@babel/runtime/helpers/esm/extends"; import _objectWithoutProperties from "@babel/runtime/helpers/esm/objectWithoutProperties"; var _excluded = ["className", "active", "onClick"]; import React from 'react'; import clsx from 'clsx'; export var Backdrop = function Backdrop(props) { var className = props.className, active = props.active, onClick = props.onClick, rest = _objectWithoutProperties(props, _excluded); return /*#__PURE__*/React.createElement("div", _extends({ className: clsx('Backdrop', className, { active: active }), onClick: onClick }, rest)); };