Skip to content

Commit

Permalink
Merge pull request #77 from yingzhiji/patch-3
Browse files Browse the repository at this point in the history
bugfix: LinkProps 移除 type 属性
  • Loading branch information
xz8la8 authored Mar 22, 2021
2 parents 2f85b10 + 8c1da9a commit 90dfc9c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/sula/src/render-plugin/link/Link.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { Button } from 'antd';
import { ButtonProps } from 'antd/lib/button';
import assign from 'lodash/assign';

export interface LinkProps extends ButtonProps{
export interface LinkProps extends Omit<ButtonProps, 'type'>{
}

export default class Link extends React.Component<LinkProps> {
Expand Down

0 comments on commit 90dfc9c

Please sign in to comment.