Add an `actions` prop to the `NodeProps` in the diagramming package that show in the node toolbar

XMLWordPrintableJSON

    • 2
    • Iteration I (Aug 11 - Aug 25)
    • Not Needed
    • Developer Tools

      To show a `+` button to add a new field in a node’s toolbar we'll want to add an `actions` prop to the Node interface

      Let's also add a story book to keep that up to date.

        /**
         * Optional actions to display in the node header.
         */
        actions?: React.ReactNode;

      The node header:
      https://github.com/mongodb-js/diagramming/blob/b96912ef896f515afaafdfa7e1f07f7d4e2a0d90/src/components/node/node.tsx#L180 

              Assignee:
              Rhys Howell
              Reporter:
              Rhys Howell
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: