Skip to content

Commit

Permalink
fix: pr feedback
Browse files Browse the repository at this point in the history
  • Loading branch information
SiTaggart committed Sep 20, 2023
1 parent 3fcca46 commit 51372bc
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions packages/paste-core/layout/aspect-ratio/src/AspectRatio.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import {styled} from '@twilio-paste/styling-library';

export interface AspectRatioProps {
/**
* Determines the aspect ratio of the element. Use a colon separated number pattern (width:height).
* Determines the aspect ratio of the element. Use a colon-separated number pattern (width:height).
*
* @type {string}
* @memberof AspectRatioProps
Expand All @@ -25,7 +25,7 @@ const handlePropValidation = ({ratio}: AspectRatioProps): void => {
}

if (!isCorrectPattern(ratio)) {
throw new Error(`[Paste: AspectRatio] 'ratio' is invalid. Use a colon separated number pattern (4:3).`);
throw new Error(`[Paste: AspectRatio] 'ratio' is invalid. Use a colon-separated number pattern (4:3).`);
}
};

Expand Down
2 changes: 1 addition & 1 deletion packages/paste-core/layout/grid/src/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ export interface ColumnProps extends HTMLPasteProps<'div'>, ColumnStyleProps {
*/
offset?: ColumnOffset;
/**
* Sets the width of Columns (how many columns a column can span)
* Sets the width of a column by defining the number of columns that column can span
*
* @type {ColumnSpan}
* @memberof ColumnProps
Expand Down
4 changes: 2 additions & 2 deletions packages/paste-website/src/pages/components/stack/index.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ the visual or content hierarchy of your page.

Elements within the stack are placed vertically with bottom spacing. This is achieved by setting
`orientation="vertical"`. A `spacing` property is provided to let you to create space between each stacked element.
`spacing` will take any [Spacing Token](/tokens#spacings) as its value.
`spacing` will take any [Spacing Token](/tokens/list#spacings) as its value.

<LivePreview scope={{Button, Card, Heading, Paragraph, Stack}} language="jsx">
{`<Stack orientation="vertical" spacing="space60">
Expand All @@ -91,7 +91,7 @@ Elements within the stack are placed vertically with bottom spacing. This is ach

Elements within the stack are placed horizontally with right spacing. This is achieved by setting
`orientation="horizontal"`. A `spacing` property is provided to let you to create space between each stacked element.
`spacing` will take any [Spacing Token](/tokens#spacings) as its value.
`spacing` will take any [Spacing Token](/tokens/list#spacings) as its value.

<LivePreview scope={{Anchor, Button, Stack}} language="jsx">
{`<Stack orientation="horizontal" spacing="space60">
Expand Down

0 comments on commit 51372bc

Please sign in to comment.