chore: standardize security and quality foundations
This commit is contained in:
@@ -1,12 +1,12 @@
|
||||
import type { ReactNode } from 'react'
|
||||
import type { ReactNode } from "react";
|
||||
|
||||
type PageHeadingProps = {
|
||||
title: string
|
||||
description?: string
|
||||
eyebrow?: string
|
||||
leading?: ReactNode
|
||||
actions?: ReactNode
|
||||
}
|
||||
title: string;
|
||||
description?: string;
|
||||
eyebrow?: string;
|
||||
leading?: ReactNode;
|
||||
actions?: ReactNode;
|
||||
};
|
||||
|
||||
/** A flat, shared page title. Panels belong to the content below it. */
|
||||
export default function PageHeading({ title, description, eyebrow, leading, actions }: PageHeadingProps) {
|
||||
@@ -22,5 +22,5 @@ export default function PageHeading({ title, description, eyebrow, leading, acti
|
||||
</div>
|
||||
{actions && <div className="page-heading-actions">{actions}</div>}
|
||||
</header>
|
||||
)
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user