diff --git a/packages/paste-core/layout/aspect-ratio/src/AspectRatio.tsx b/packages/paste-core/layout/aspect-ratio/src/AspectRatio.tsx index 6360655f06..fde5c0d26a 100644 --- a/packages/paste-core/layout/aspect-ratio/src/AspectRatio.tsx +++ b/packages/paste-core/layout/aspect-ratio/src/AspectRatio.tsx @@ -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 @@ -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).`); } }; diff --git a/packages/paste-core/layout/grid/src/types.ts b/packages/paste-core/layout/grid/src/types.ts index 5b1bb3833a..d463a9673f 100644 --- a/packages/paste-core/layout/grid/src/types.ts +++ b/packages/paste-core/layout/grid/src/types.ts @@ -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 diff --git a/packages/paste-website/src/pages/components/stack/index.mdx b/packages/paste-website/src/pages/components/stack/index.mdx index abbb7c2f28..08afc79ba5 100644 --- a/packages/paste-website/src/pages/components/stack/index.mdx +++ b/packages/paste-website/src/pages/components/stack/index.mdx @@ -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. {` @@ -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. {`