import { ArgTypes, Story, Canvas, Meta } from '@storybook/addon-docs/blocks';
import Tooltip from '../Tooltip';
import * as FormLabelStories from './FormLabel.stories';
import { stackblitzPrefillConfig } from '../../../previewer/codePreviewer';

<Meta isTemplate />

# FormLabel

[Source code](https://github.com/carbon-design-system/carbon/tree/main/packages/react/src/components/FormLabel)
&nbsp;|&nbsp;
[Usage guidelines](https://www.carbondesignsystem.com/components/form/usage)
[Accessibility](https://www.carbondesignsystem.com/components/form/accessibility)

{/* <!-- START doctoc generated TOC please keep comment here to allow auto update --> <!-- DON'T EDIT THIS SECTION, INSTEAD RE-RUN doctoc TO UPDATE --> */}

## Table of Contents

- [Overview](#overview)
    - [With Toggletip](#with-toggletip)
- [Component API](#component-api)
- [Feedback](#feedback)

{/* <!-- END doctoc generated TOC please keep comment here to allow auto update --> */}

## Overview

<Canvas of={FormLabelStories.Default} />

#### With Toggletip

<Canvas of={FormLabelStories.WithToggletip} />

## Component API

<ArgTypes />

## Feedback

Help us improve this component by providing feedback through, asking questions
on Slack, or updating this file on GitHub
[GitHub](https://github.com/carbon-design-system/carbon/edit/main/packages/react/src/components/FormLabel/FormLabel.mdx).
