import BackyardBaseProps from '../../utils/typings/BackyardProps'; import { BDSForwardRef } from '../../utils/typings/BDSComponentProps'; /** * Tiles are surfaces that display content and actions on a single topic. * * They should be easy to scan for relevant and actionable information. Elements, like text and images, should * be placed on them in a way that clearly indicates hierarchy. * * Since this component is just a wrapper you can place interactive elements within like * buttons and links if you so desire. * * note: The white background variation is to be used when there are pictures being included on the tile(s). If it * is part of a set, all the tiles should be of the same variation. * * example: * * Hello World * * */ declare const CardTile: BDSForwardRef; declare type CardTileRef = HTMLDivElement; interface CardTileProps extends BackyardBaseProps { /** * Apply disabled styling if 'true' */ disabled?: boolean; /** * Changes card styling to provided variant style */ color?: 'surface' | 'subdued'; /** * Shape of the edges */ shape?: 'rounded' | 'squared'; } export { CardTile }; export type { CardTileProps, CardTileRef }; export default CardTile;