From 58ec5cb34318b86333aca503a53852e4b464b802 Mon Sep 17 00:00:00 2001 From: Kitty Hurley Date: Fri, 1 Dec 2023 11:15:24 -0600 Subject: [PATCH] docs(modal): update fullscreen context to updated widthScale prop (#8313) **Related Issue:** #8250 ## Summary Updates the `modal`'s `fullscreen` prop context to the updated `widthScale` prop (previously named `scale`). --- packages/calcite-components/src/components/modal/modal.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/calcite-components/src/components/modal/modal.tsx b/packages/calcite-components/src/components/modal/modal.tsx index ace7cf1348b..e05d3b1d1d2 100644 --- a/packages/calcite-components/src/components/modal/modal.tsx +++ b/packages/calcite-components/src/components/modal/modal.tsx @@ -130,7 +130,7 @@ export class Modal /** Specifies the width of the component. */ @Prop({ reflect: true }) widthScale: Scale = "m"; - /** Sets the component to always be fullscreen (overrides `width` and `--calcite-modal-width` / `--calcite-modal-height`). */ + /** Sets the component to always be fullscreen (overrides `widthScale` and `--calcite-modal-width` / `--calcite-modal-height`). */ @Prop({ reflect: true }) fullscreen: boolean; /** Specifies the kind of the component (will apply to top border). */