Back to reference

GrammarlyButtonProps

Props for <GrammarlyButton>.

interface GrammarlyButtonProps extends HTMLAttributes {
  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/7/2023, 10:38:49 PM