@dnb/eufemia
Version:
DNB Eufemia Design System UI Library
13 lines (12 loc) • 536 B
TypeScript
import type { HTMLProps, ReactNode } from 'react';
import type { SpacingProps } from '../space/types';
export type CardListItemProps = {
/**
* Center the content of the list item.
* Use `true` to always center, or `"when-small"` to center only on small screens.
*/
center?: boolean | 'when-small';
children: ReactNode;
} & SpacingProps & Omit<HTMLProps<HTMLLIElement>, 'children'>;
declare function CardListItem(props: CardListItemProps): import("react/jsx-runtime").JSX.Element;
export default CardListItem;