Implement a reusable component for leaving a reply / comment on something. This component should essentially render what is seen in the attached image.
This component should accept a Discord callback event, as well as a Post / Submit callback event. The latter should return/pass us the information within the component.
For instance, if I typed "asdf", I should receive "asdf" from the callback event.
Acceptance Criteria
[x] Callback event for Post (which returns the information within the component)
[x] Callback event for Discord
[x] Parameterized character limit defaulting to 1k
[x] Parameterized title
[x] Parameterized placeholder text for the text area
Ideas for naming this component:
ReplyComponent, CommentComponent... not sure.
Implement a reusable component for leaving a reply / comment on something. This component should essentially render what is seen in the attached image.
This component should accept a
Discord
callback event, as well as aPost
/Submit
callback event. The latter should return/pass us the information within the component.For instance, if I typed "asdf", I should receive "asdf" from the callback event.
Acceptance Criteria
Ideas for naming this component: ReplyComponent, CommentComponent... not sure.