Skip to content

Commit

Permalink
fix linting
Browse files Browse the repository at this point in the history
  • Loading branch information
jattasNI committed Jan 31, 2025
1 parent 412744e commit 82050d7
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions packages/spright-components/src/chat/specs/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,10 +32,14 @@ The components will only provide the presentation layer, not logic for interacti
The message component will allow slotting arbitrary content, but any efforts to add content types to Nimble are out of scope of this document. For example, adding capabilities to the rich text viewer or adding styling for specific content types.

We will not yet introduce an input toolbar component where a user can type and send messages and interact with related buttons. For now applications can construct this using the existing Nimble toolbar.

- Pros of dedicated component:

1. consistent layout and reduced implementation effort across applications
1. single implementation to change if requirements change

- Pros of applications leveraging Nimble toolbar:

1. dedicated component would require a large API surface area for configuring the visibility and enabled state of numerous buttons and firing events when the user interacts with the toolbar inputs.
1. allows more rapid experimentation while input use cases and interactions are still being solidified

Expand Down

0 comments on commit 82050d7

Please sign in to comment.