import styels from "./index.module.less";
import { jsx as _jsx } from "react/jsx-runtime";
function Index(props) {
  var type = props.type || 'parentBtn1';
  var style = props.color ? {
    filter: "drop-shadow(0px 0px ".concat(props.color.parentColor, ")"),
    backgroundColor: props.color.btnColor
  } : {};
  return /*#__PURE__*/_jsx("div", {
    children: /*#__PURE__*/_jsx("div", {
      className: styels[type],
      children: /*#__PURE__*/_jsx("div", {
        style: style,
        className: styels.btn,
        children: props.children
      })
    })
  });
}
export default Index;