Skip to content

Commit

Permalink
Update Card context explainer in Markdown files
Browse files Browse the repository at this point in the history
  • Loading branch information
ciampo committed Jun 14, 2021
1 parent c001f9e commit 4fe415f
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 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 @@ -16,7 +16,7 @@ const Example = () => (

## Props

Note: This component is connected to [`Card`'s Context](/packages/componnents/src/card/card/README.md#context). Passing the `size` prop directly to this component will override the value derived from context.
Note: This component is connected to [`Card`'s Context](/packages/componnents/src/card/card/README.md#context). The value of the `size` prop is derived from the `Card` parent component (if there is one). Setting this prop directly on this component will override any derived values.

### `isScrollable`: `boolean`

Expand Down
2 changes: 1 addition & 1 deletion packages/components/src/card/card-footer/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ Check out [the documentation](/packages/componnents/src/flex/flex/README.md) on

## Props

Note: This component is connected to [`Card`'s Context](/packages/componnents/src/card/card/README.md#context). Passing the `size` and `isBorderless` props directly to this component will override the value derived from context.
Note: This component is connected to [`Card`'s Context](/packages/componnents/src/card/card/README.md#context). The value of the `size` and `isBorderless` props is derived from the `Card` parent component (if there is one). Setting these props directly on this component will override any derived values.

### `isBorderless`: `boolean`

Expand Down
2 changes: 1 addition & 1 deletion packages/components/src/card/card-header/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ const Example = () => (

## Props

Note: This component is connected to [`Card`'s Context](/packages/componnents/src/card/card/README.md#context). Passing the `size` and `isBorderless` props directly to this component will override the value derived from context.
Note: This component is connected to [`Card`'s Context](/packages/componnents/src/card/card/README.md#context). The value of the `size` and `isBorderless` props is derived from the `Card` parent component (if there is one). Setting these props directly on this component will override any derived values.

### `isBorderless`: `boolean`

Expand Down

0 comments on commit 4fe415f

Please sign in to comment.