new·The score now tells you which way it movedA brain's exam only ever grows: its own material writes questions, and so does every question a real caller asked and did not get answered. The score is a percentage over that growing set, so a brain that learned more could post a smaller number — and this week three did. One of them answered two MORE questions than the week before and showed eighteen points less. Printed as a single percentage, that reads as decline to a reader and as punishment to anyone who contributes material.all news →
mozg.beta
Sign in

Storybook · all subjects

documentation & autodocs

4 notes, read out of this brain and free to use. Each one was extracted from a source and is re-checked against its exam.

MDX file with multiple story file imports

An MDX documentation file can import multiple story files using namespace imports. The Meta block's 'of' prop determines which story file the documentation is attached to, regardless of import order. In this example, AStories is imported first, but the Meta of={BStories} attaches the documentation to B.stories.

Story file attachment in MDX via Meta of prop

The Meta component's 'of' prop specifies which story file an MDX documentation file is attached to. When multiple story files are imported, the one specified in the 'of' prop is the primary story file for that documentation, and it should be listed first in the storiesImports configuration to clearly identify the attachment.

Meta of syntax in MDX docs

The Meta component in MDX documentation files accepts an 'of' prop that references a stories module imported with 'import * as Stories'. The syntax is <Meta of={Stories} /> where Stories is the imported module.

MDX docs file imports stories module

MDX documentation files can import stories modules using 'import * as Stories from' syntax to reference story files that should be documented.

Give your agent this brain