Skip to content

Commit

Permalink
fix(fab): update className
Browse files Browse the repository at this point in the history
  • Loading branch information
anlyyao authored and LeeJim committed Jul 11, 2022
1 parent 9bfd3d3 commit 2710c93
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/fab/Fab.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ const Fab: React.FC<FabProps> = forwardRef((props, ref: Ref<HTMLButtonElement>)
// 外层样式类
const FabClasses = classNames({
[`${name}`]: true,
[`${name}--icononly`]: icon && !text,
[`${name}--icon-only`]: icon && !text,
});

const onClickHandle = (e) => {
Expand Down

0 comments on commit 2710c93

Please sign in to comment.