Skip to content

Commit

Permalink
fix: use whitespace to ensure smart quotes get replaced in text content
Browse files Browse the repository at this point in the history
  • Loading branch information
vpicone committed Dec 13, 2019
1 parent 34e46f7 commit 8bf0574
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions packages/example/src/pages/components/Caption.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -16,17 +16,19 @@ The `<Caption>` component is typically used below images or videos. They will de
<Video src="/videos/hero-video.mp4" poster="/images/poster.png" />

<Caption>
This is a regular caption. It will attempt to respond to it's container
element appropriately.

This is a regular caption. It will attempt to respond to it's container element appropriately.

</Caption>

#### Full-width

![Colors](images/colors.png)

<Caption fullWidth>
This is a full width caption. With this prop, the caption's width will be 100%
so it will fill its container.

This is a full width caption. With this prop, the caption's width will be 100% so it will fill its container.

</Caption>

## Code
Expand Down

0 comments on commit 8bf0574

Please sign in to comment.