import * as React from "react"; import { styled } from "../theme"; import type * as WPDS from "../theme"; const NAME = "DialogHeader"; const StyledHeader = styled("header", { gridArea: "header", }); export type DialogHeaderProps = { /** Any React node may be used as a child */ children?: React.ReactNode; /** Override CSS */ css?: WPDS.CSS; } & React.ComponentPropsWithRef; export const DialogHeader = React.forwardRef( ({ children, ...props }: DialogHeaderProps, ref) => { return ( {children} ); } ); DialogHeader.displayName = NAME;