Skip to content

Commit 769f497

Browse files
committed
Fix based on PR comments
1 parent c0adae4 commit 769f497

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

packages/main/src/components/Page/index.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ export interface PagePropTypes extends CommonProps {
2323
*/
2424
backgroundDesign?: PageBackgroundDesign;
2525
/**
26-
* The (optional) custom header of this page. Use this aggregation only when a custom header
26+
* The (optional) custom header of this page. Use this prop only when a custom header
2727
* is constructed where the default header consisting of title text + nav button is not sufficient.
2828
*/
2929
customHeader?: ReactNode;
@@ -48,7 +48,7 @@ export interface PagePropTypes extends CommonProps {
4848
*/
4949
onNavButtonPress?: (e: CustomEvent<{}>) => void;
5050
/**
51-
* The page has three distinct areas that can hold content - a header, content area and a footer.
51+
* The content area of the page.
5252
*/
5353
children: ReactElement<any> | ReactElement<any>[] | ReactNode;
5454
}
@@ -58,7 +58,7 @@ const useStyles = createComponentStyles(styles, {
5858
});
5959

6060
/**
61-
* A container control that holds one whole screen of an application.
61+
* A layout control that holds one whole screen of an application.
6262
*/
6363
const Page: FC<PagePropTypes> = forwardRef((props: PagePropTypes, ref: Ref<HTMLDivElement>) => {
6464
const {

0 commit comments

Comments
 (0)