react antd 按钮重新封装
按钮组件:import { Button } from 'antd';import * as React from 'react';import PropTypes from 'prop-types';const BaseBtn = ({ children, onClick, bcolor, color, bgColor, full }) => { // const btnClassName = classnames({ // [`new_btn_${bcolor}`]:..
原创
2022-03-28 18:08:53 ·
978 阅读 ·
2 评论