import { ArgsTable, Meta } from '@storybook/addon-docs';
import { DocgenButton } from '../../components/DocgenButton';

<Meta title="Addons/Docs/IncludeExclude" />

## Include

### Array

<ArgsTable of={DocgenButton} include={['disabled', 'label']} />

### Regex

<ArgsTable of={DocgenButton} include={/^o.*/} />

## Exclude

### Regex

<ArgsTable of={DocgenButton} exclude={/^o.*|^...$/} />

## Mixed

<ArgsTable of={DocgenButton} include={/^o.*/} exclude={['one', 'obj']} />
