plopfile-generate
Version:
Installation:
12 lines (9 loc) • 383 B
JavaScript
import { Button } from 'antd';
import { Buttons, ButtonsGroup } from './styles/button.style';
import WithDirection from '../../config/withDirection';
const AntButton = Buttons(Button);
const isoButton = WithDirection(AntButton);
const AntButtonGroup = ButtonsGroup(Button.Group);
const ButtonGroup = WithDirection(AntButtonGroup);
export default isoButton;
export { ButtonGroup };