Skip to content

Commit

Permalink
docs(modal): update fullscreen context to updated widthScale prop (#8313
Browse files Browse the repository at this point in the history
)

**Related Issue:** #8250

## Summary
Updates the `modal`'s `fullscreen` prop context to the updated
`widthScale` prop (previously named `scale`).
  • Loading branch information
geospatialem authored and benelan committed Dec 1, 2023
1 parent b08e021 commit 58ec5cb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/calcite-components/src/components/modal/modal.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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). */
Expand Down

0 comments on commit 58ec5cb

Please sign in to comment.