Back to reference

GrammarlyButtonProps

Props for <GrammarlyButton>.

interface GrammarlyButtonProps {
  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: 1/30/2023, 10:49:17 PM