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

Ability to hide image controls in the toolbar #7944

Open
1 task done
GamerGirlandCo opened this issue Nov 18, 2024 · 0 comments
Open
1 task done

Ability to hide image controls in the toolbar #7944

GamerGirlandCo opened this issue Nov 18, 2024 · 0 comments

Comments

@GamerGirlandCo
Copy link

  • I have searched the issues of this repository and believe that this is not a duplicate.

What problem does this feature solve?

i think that we should have the option to disable the toolbar buttons that flip or rotate the image, as some people might find them unnecessary.

What does the proposed API look like?

export type ImageProps = {
+ showExtendedControls?: boolean | undefined;
  fallback?: string | undefined
  height?: (string | number) | undefined
  src?: string | undefined
  width?: (string | number) | undefined
  onError?: OnErrorEventHandlerNonNull | undefined
  prefixCls?: string | undefined
  preview?: boolean | ImagePreviewType| undefined
  previewMask?: false | (() => any) | undefined
  previewPrefixCls?: string | undefined
  rootClassName?: string | undefined
  wrapperClassName?: string | undefined
  // ...
}
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

1 participant