Skip to content

Commit

Permalink
fix(docs): fixed uneven titles across docs
Browse files Browse the repository at this point in the history
  • Loading branch information
liamross committed Feb 1, 2020
1 parent 390dc94 commit caf01ce
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 8 deletions.
4 changes: 2 additions & 2 deletions src/__stories__/1_basics/2_getting-started.stories.mdx
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
import { Meta, Title } from '@storybook/addon-docs/blocks';
import { Meta } from '@storybook/addon-docs/blocks';
import { LinkTo, Redirect } from '../../storybook-helpers/mdx';

<Redirect />

<Meta title="Basics/Getting Started" parameters={{previewTabs: {canvas: {hidden: true}}}} />

<Title />
# Getting Started

In order to get started using the toolkit, there are some quick and easy
installation steps you will need to go through.
Expand Down
4 changes: 2 additions & 2 deletions src/__stories__/3_hooks/useManagedFiles.stories.mdx
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
import { options, output } from './useManagedFilesHelpers';
import { Meta, Props, Title, Story, Preview } from '@storybook/addon-docs/blocks';
import { Meta, Props, Story, Preview } from '@storybook/addon-docs/blocks';
import { LinkTo, Redirect } from '../../storybook-helpers/mdx';

<Redirect />

<Meta title="Hooks/useManagedFiles" parameters={{previewTabs: {canvas: {hidden: true}}}} />

<Title />
# useManagedFiles

A hook that provides complex managing behavior for files. It is designed for use with `FileOrganizer`, but can be used anywhere you need to manage an array of files. The basic functionality it provides is:

Expand Down
4 changes: 2 additions & 2 deletions src/__stories__/4_data/file.stories.mdx
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
import { options, output } from './fileHelpers';
import { Meta, Props, Title, Story, Preview } from '@storybook/addon-docs/blocks';
import { Meta, Props, Story, Preview } from '@storybook/addon-docs/blocks';
import { LinkTo, Redirect } from '../../storybook-helpers/mdx';

<Redirect />

<Meta title="Data/File" parameters={{previewTabs: {canvas: {hidden: true}}}} />

<Title />
# File

The `File` class is a utility that encapsulates useful functionality from the
WebViewer API. It exposes various properties and methods for manipulating the
Expand Down
4 changes: 2 additions & 2 deletions src/__stories__/4_data/memoized-promise.stories.mdx
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
import { options, output } from './memoizedPromiseHelpers';
import { Meta, Props, Title, Story, Preview } from '@storybook/addon-docs/blocks';
import { Meta, Props, Story, Preview } from '@storybook/addon-docs/blocks';
import { LinkTo, Redirect } from '../../storybook-helpers/mdx';

<Redirect />

<Meta title="Data/MemoizedPromise" parameters={{previewTabs: {canvas: {hidden: true}}}} />

<Title />
# MemoizedPromise

The `MemoizedPromise` class is a utility that allows for caching of lazy
promises. This is used internally in <LinkTo title="Data/File">File</LinkTo> in
Expand Down

0 comments on commit caf01ce

Please sign in to comment.