import { Canvas, Meta, ArgTypes } from '@storybook/blocks';
import { ThemeProvider } from 'styled-components';

import Feedback from './';
import { lightTheme } from '../../../../theme/';
import { GlobalStyles } from '../../../../theme/GlobalStyles';
import * as FeedbackStories from './Feedback.stories.tsx';

<Meta of={FeedbackStories} />

# Feedback Icon

The Feedback component creates an icon using inline SVG. Typically, you can use it to indicate a feedback action.

## Importing

```javascript
import { Feedback } from 'amazon-chime-sdk-component-library-react';
```

## Example

<ThemeProvider theme={lightTheme}>
  <GlobalStyles />
  <Canvas>
    <Feedback width="2rem" />
  </Canvas>
</ThemeProvider>

```jsx
<Feedback width="2rem" />
```

## Props

<ArgTypes of={Feedback} />
