import { Canvas, Meta, ArgTypes } from '@storybook/blocks'; import { ThemeProvider } from 'styled-components'; import EditableChatBubble from './EditableChatBubble'; import { lightTheme } from '../../../../theme'; import { GlobalStyles } from '../../../../theme/GlobalStyles'; import * as EditableChatBubbleStories from './EditableChatBubble.stories.tsx'; # EditableChatBubble The EditableChatBubble component displays a form inside a ChatBubble in order to edit the content. Save and Cancel callback handle the data. It also determines the style of the bubble including color, chat bubble tail visibility, and name visibility. ## Importing ```javascript import { EditableChatBubble } from 'amazon-chime-sdk-component-library-react'; ``` ## Example e.preventDefault()} cancel={(e) => e.preventDefault()} /> ```jsx e.preventDefault()} cancel={(e) => e.preventDefault()} /> ``` ## Props