@abgov/react-components
Version:
Government of Alberta - UI components for React
24 lines (23 loc) • 680 B
TypeScript
import { Margins } from '@abgov/ui-components-common';
import { JSX } from 'react';
interface WCProps extends Margins {
elevation?: number;
width?: string;
children: React.ReactNode;
testid?: string;
}
declare module "react" {
namespace JSX {
interface IntrinsicElements {
"goa-card": WCProps & React.HTMLAttributes<HTMLElement>;
}
}
}
export interface GoabCardProps extends Margins {
elevation?: number;
width?: string;
testId?: string;
children?: React.ReactNode;
}
export declare function GoabCard({ elevation, width, mt, mr, mb, ml, testId, children, }: GoabCardProps): JSX.Element;
export default GoabCard;