Back to reference

GrammarlyButtonProps

Props for <GrammarlyButton>.

interface GrammarlyButtonProps extends HTMLAttributes<HTMLElement> {
  menuPosition?: "left" | "right";
  tonePosition?: "left" | "right";
}

Properties

menuPositionoptionalType: "left" | "right"Default: "left"

Set the position of the Grammarly button menu relative to the Grammarly button.

Since: v2.1.0

tonePositionoptionalType: "left" | "right"Default: "left"

Set the position of the tone detector relative to the Grammarly button.

Last Updated: 2/2/2023, 4:52:56 PM