From 609a5f32f96a8545e578fea63fc74f034beaffd1 Mon Sep 17 00:00:00 2001 From: Dan Harrin Date: Thu, 14 Nov 2024 08:35:50 +0000 Subject: [PATCH] Update 02-stats-overview.md --- packages/widgets/docs/02-stats-overview.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/packages/widgets/docs/02-stats-overview.md b/packages/widgets/docs/02-stats-overview.md index fad5030e50..e32e88756e 100644 --- a/packages/widgets/docs/02-stats-overview.md +++ b/packages/widgets/docs/02-stats-overview.md @@ -166,9 +166,9 @@ To disable this behavior, you may override the `$isLazy` property on the widget protected static bool $isLazy = false; ``` -## Adding a header and description +## Adding a heading and description -You may also add header and description text above the widget by overriding the `$header` and `$description` properties: +You may also add heading and description text above the widget by overriding the `$heading` and `$description` properties: ```php protected ?string $heading = 'Analytics'; @@ -176,7 +176,7 @@ protected ?string $heading = 'Analytics'; protected ?string $description = 'An overview of some analytics.'; ``` -If you need to dynamically generate the header or description text, you can instead override the `getHeader()` and `getDescription()` methods: +If you need to dynamically generate the heading or description text, you can instead override the `getHeading()` and `getDescription()` methods: ```php protected function getHeading(): ?string