Merge pull request #18609 from storybookjs/hmleo/vue-methods

Addon-docs: Include Vue methods in ArgsTable
This commit is contained in:
Norbert de Langen 2022-07-01 23:24:04 +02:00 committed by GitHub
commit 834f8cf425
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -2,7 +2,7 @@ import type { StrictArgTypes } from '@storybook/csf';
import type { ArgTypesExtractor } from '@storybook/docs-tools';
import { hasDocgen, extractComponentProps, convert } from '@storybook/docs-tools';
const SECTIONS = ['props', 'events', 'slots'];
const SECTIONS = ['props', 'events', 'slots', 'methods'];
export const extractArgTypes: ArgTypesExtractor = (component) => {
if (!hasDocgen(component)) {