<commit_before>/* eslint-disable import/no-extraneous-dependencies */
import { addParameters } from '@storybook/react';
import { DocsPage, DocsContainer } from '@storybook/addon-docs/blocks';

addParameters({
  docs: {
    container: DocsContainer,
    page: DocsPage,
    // react is Storybook's "native" framework, so it's stories are inherently prepared to be rendered inline
    prepareForInline: storyFn => storyFn,
  },
});<commit_msg>Addon-docs: Fix react inline stories (#8419)<commit_after>/* eslint-disable import/no-extraneous-dependencies */
import { addParameters } from '@storybook/react';
import { DocsPage, DocsContainer } from '@storybook/addon-docs/blocks';

addParameters({
  docs: {
    container: DocsContainer,
    page: DocsPage,
    // react is Storybook's "native" framework, so it's stories are inherently prepared to be rendered inline
    // NOTE: that the result is a react element. Hooks support is provided by the outer code.
    prepareForInline: storyFn => storyFn(),
  },
});
{'fraction_non_alphanumeric': 0.11496531219028741, 'fraction_numerical': 0.003964321110009911, 'mean_word_length': 4.372340425531915, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7546383', 'n_tokens_mistral': 299, 'n_tokens_neox': 288, 'n_words': 93}