Skip to content

Ability to hide image controls in the toolbarΒ #7944

@GamerGirlandCo

Description

@GamerGirlandCo
  • 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
  // ...
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions