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: 11/2/2022, 11:12:26 PM