UNPKG

@theguild/components

Version:
12 lines (9 loc) 404 B
import * as react_jsx_runtime from 'react/jsx-runtime'; import { ReactNode } from 'react'; interface InfoCardProps extends React.HTMLAttributes<HTMLElement> { icon: ReactNode; heading: ReactNode; as?: 'div' | 'li'; } declare function InfoCard({ as: Root, icon, heading, className, children, ...rest }: InfoCardProps): react_jsx_runtime.JSX.Element; export { InfoCard, type InfoCardProps };