import * as React from "react"; import { styled, theme } from "../theme"; import type * as WPDS from "../theme"; const NAME = "DialogFooter"; const StyledFooter = styled("footer", { display: "flex", alignItems: "center", justifyContent: "flex-end", gap: theme.space["050"], "@container (max-width: 350px)": { flexDirection: "column-reverse", alignItems: "stretch", }, gridArea: "footer", marginBlockStart: theme.space["150"], }); export type DialogFooterProps = { /** Any React node may be used as a child */ children?: React.ReactNode; /** Override CSS */ css?: WPDS.CSS; } & React.ComponentPropsWithRef; export const DialogFooter = React.forwardRef( ({ children, ...props }: DialogFooterProps, ref) => { return ( {children} ); } ); DialogFooter.displayName = NAME;