import React from "react"; import type * as WPDS from "../theme"; import { theme, styled } from "../theme"; const StyledCard = styled("div", { padding: theme.space["150"], border: theme.colors.outline, borderRadius: theme.radii["012"], borderWidth: "1px", borderStyle: "solid", backgroundColor: theme.colors.secondary, color: theme.colors.onSecondary, width: "100%", }); type CardProps = { /** Override/include custom CSS */ css?: WPDS.CSS; /** The nested elements inside Card */ children?: React.ReactNode; } & React.ComponentPropsWithRef; export const Card = React.forwardRef( ({ children, css, ...props }: CardProps, ref) => { return ( {children} ); } ); Card.displayName = "Card";