Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Info

Props:

  • objectId - Number, provide id of an object, used to view fetch a list of comments for a specific product, organization, etc..an object with the provided id.

  • objectType - String, provide Type of specific section, for example( PRODUCT, ORGANIZATION, etc…) to search and view type of an object, accepts values: PRODUCT, ORGANIZATION, PLAYBOOK, BUILDING_BLOCK, OPEN_DATA, USE_CASE, PROJECTS, used to fetch a list of comments for a specific section.an object of the provided type

  • commentsSectionRef - Object, allows , ref object, ref used by CommentsCount component to scroll down to section with onClick functionality.CommentsSection component on CommentsCount click

Example of use:

  • Default view, when there is no comments

  • Default view, with comments and usage advanced input

  • Focused input