Options
All
  • Public
  • Public/Protected
  • All
Menu

Class CommentForm<P>

Type parameters

  • P: CommentForm.Props = CommentForm.Props

Hierarchy

  • Component<P, CommentForm.State>
    • CommentForm

Index

Constructors

constructor

Properties

Private Readonly clearInput

clearInput: () => void = ...

Type declaration

    • (): void
    • Returns void

Private inputRef

inputRef: RefObject<HTMLTextAreaElement> = ...

Private inputValue

inputValue: string = ''

Private Readonly menu

menu: CompositeMenuNode

Private Readonly onInput

onInput: (event: FormEvent<Element>) => void = ...

Type declaration

    • (event: FormEvent<Element>): void
    • Parameters

      • event: FormEvent<Element>

      Returns void

Methods

Protected collapse

  • collapse(): void

componentDidMount

  • componentDidMount(): void

Protected expand

  • expand(): void

Private Readonly getInput

  • getInput(): string

render

  • render(): ReactNode

update

  • update(): void