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

import DropToAttach from './';
import { lightTheme } from '../../../../theme/';
import { GlobalStyles } from '../../../../theme/GlobalStyles';
import * as DropToAttachStories from './DropToAttach.stories.tsx';

<Meta of={DropToAttachStories} />

# DropToAttach Icon

The DropToAttach component creates an icon to indicate that user could drag and drop to attach file.

## Importing

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

## Example

<ThemeProvider theme={lightTheme}>
  <GlobalStyles />
  <Canvas>
    <DropToAttach width="10rem" />
  </Canvas>
</ThemeProvider>

```jsx
<DropToAttach width="10rem" />
```

## Props

<ArgTypes of={DropToAttach} />
