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

import Check from './';
import { lightTheme } from '../../../../theme/';
import { GlobalStyles } from '../../../../theme/GlobalStyles';
import * as CheckStories from './Check.stories.tsx';

<Meta of={CheckStories} />

# Check Icon

The Check component creates a checkmark icon using inline SVG.

## Importing

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

## Example

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

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

## Props

<ArgTypes of={Check} />
