Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

rightAction #131

Closed
liyanping111 opened this issue Feb 1, 2024 · 1 comment
Closed

rightAction #131

liyanping111 opened this issue Feb 1, 2024 · 1 comment

Comments

@liyanping111
Copy link

对话容器里边rightAction配置项里边有哪些属性

@akai
Copy link
Collaborator

akai commented Sep 5, 2024

一般传 icon 和 onClick 就行

export interface ButtonProps extends React.ButtonHTMLAttributes<HTMLButtonElement> {
  // ...
  icon?: string;
  onClick?: (event: React.MouseEvent<HTMLButtonElement, MouseEvent>) => void;
}

@akai akai closed this as completed Sep 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants