@cainthus/alex-library
Version:
Component React library for Cainthus - Alex Dashboard.
24 lines (23 loc) • 758 B
TypeScript
import React from 'react';
import './Card.scss';
import Actions from './Actions/Actions';
import { Props } from './Card.types';
declare class Card extends React.Component<Props> {
static Content: (props: import("./Content/Content.types").Props) => JSX.Element;
static Title: (props: import("./Title/Title.types").Props) => JSX.Element;
static Actions: typeof Actions;
static defaultProps: {
className: string;
width: string;
style: {};
};
setWidth: (width: string | null) => {
width: string;
} | {
width?: undefined;
};
renderClassNames: (className: string) => string;
renderAdditionalClassNames: (className: string) => string;
render(): JSX.Element;
}
export default Card;