Skip to content

Commit

Permalink
Update READMEs internal links
Browse files Browse the repository at this point in the history
  • Loading branch information
ciampo committed Jun 10, 2021
1 parent 91f3d9f commit 9dcd6b3
Show file tree
Hide file tree
Showing 6 changed files with 16 additions and 16 deletions.
2 changes: 1 addition & 1 deletion packages/components/src/card/card-body/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,4 +32,4 @@ Determines the amount of padding within the component.
- Required: No
- Default: `medium`

Note: This component is connected to [`<Card />`'s Context](../README.md#context). Passing props directly to this component will override the props derived from context.
Note: This component is connected to [`<Card />`'s Context](../card/README.md#context). Passing props directly to this component will override the props derived from context.
2 changes: 1 addition & 1 deletion packages/components/src/card/card-divider/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# CardDivider

CardDivider renders an optional divider within a [`<Card />`](../).
CardDivider renders an optional divider within a [`<Card />`](../card/README.md).

## Usage

Expand Down
8 changes: 4 additions & 4 deletions packages/components/src/card/card-footer/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# CardFooter

CardFooter renders an optional footer within a [`<Card />`](../).
CardFooter renders an optional footer within a [`<Card />`](../card/README.md).

## Usage

Expand All @@ -16,7 +16,7 @@ const Example = () => (

### Flex

Underneath, CardFooter uses the layout component [`<Flex/>`](../../flex/README.md). This improves the alignment of child items within the component.
Underneath, CardFooter uses the layout component [`<Flex/>`](../../flex/flex/README.md). This improves the alignment of child items within the component.

```jsx
import {
Expand All @@ -39,7 +39,7 @@ const Example = () => (
);
```

Check out [the documentation](../../flex/README.md) on `<Flex/>` for more details on layout composition.
Check out [the documentation](../../flex/flex/README.md) on `<Flex/>` for more details on layout composition.

## Props

Expand Down Expand Up @@ -75,4 +75,4 @@ Determines the amount of padding within the component.
- Required: No
- Default: `medium`

Note: This component is connected to [`<Card />`'s Context](../README.md#context). Passing props directly to this component will override the props derived from context.
Note: This component is connected to [`<Card />`'s Context](../card/README.md#context). Passing props directly to this component will override the props derived from context.
8 changes: 4 additions & 4 deletions packages/components/src/card/card-header/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# CardHeader

CardHeader renders an optional header within a [`<Card />`](../).
CardHeader renders an optional header within a [`<Card />`](../card/README.md).

## Usage

Expand All @@ -16,7 +16,7 @@ const Example = () => (

### Flex

Underneath, CardHeader uses the layout component [`<Flex/>`](../../flex/README.md). This improves the alignment of child items within the component.
Underneath, CardHeader uses the layout component [`<Flex/>`](../../flex/flex/README.md). This improves the alignment of child items within the component.

```jsx
import {
Expand All @@ -39,7 +39,7 @@ const Example = () => (
);
```

Check out [the documentation](../../flex/README.md) on `<Flex/>` for more details on layout composition.
Check out [the documentation](../../flex/flex/README.md) on `<Flex/>` for more details on layout composition.

## Props

Expand Down Expand Up @@ -75,4 +75,4 @@ Determines the amount of padding within the component.
- Required: No
- Default: `medium`

Note: This component is connected to [`<Card />`'s Context](../README.md#context). Passing props directly to this component will override the props derived from context.
Note: This component is connected to [`<Card />`'s Context](../card/README.md#context). Passing props directly to this component will override the props derived from context.
2 changes: 1 addition & 1 deletion packages/components/src/card/card-media/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# CardMedia

CardMedia provides a container for media elements, and renders within a [`<Card />`](../).
CardMedia provides a container for media elements, and renders within a [`<Card />`](../card/README.md).

## Usage

Expand Down
10 changes: 5 additions & 5 deletions packages/components/src/card/card/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,11 +44,11 @@ Determines the amount of padding within the component.

This component provides a collection of sub-component that can be used to compose various interfaces.

- [`<CardBody />`](./docs/body.md)
- [`<CardDivider />`](./docs/divider.md)
- [`<CardFooter />`](./docs/footer.md)
- [`<CardHeader />`](./docs/header.md)
- [`<CardMedia />`](./docs/media.md)
- [`<CardBody />`](../card-body/README.md)
- [`<CardDivider />`](../card-divider/README.md)
- [`<CardFooter />`](../card-footer/README.md)
- [`<CardHeader />`](../card-header/README.md)
- [`<CardMedia />`](../card-media/README.md)

### Sub-Components Example

Expand Down

0 comments on commit 9dcd6b3

Please sign in to comment.