import React from 'react' ; import { IrisProps , withIris } from '../../utils' ; import { Card as Styled } from './Card.style' ; export const Card = withIris < HTMLDivElement , Props > ( CardComponent ) ; export type Props = IrisProps < { /**
     * [default =  false]
     */ loading ? : boolean ; /**
     * [default = false]
     */ selected ? : boolean ; } , HTMLDivElement > ; function CardComponent ( { forwardRef , loading , ... props } ) { return < Styled ref = { forwardRef } $loading = { loading } { ... props } />; }