@combine-labs/combine-polaris
Version:
Combine Lab's product component library. Forked from Shopify's Polaris.
22 lines (21 loc) • 689 B
TypeScript
import * as React from 'react';
import { Action } from '../../types';
export interface Props {
/** The empty state heading */
heading?: string;
/** The image to use for small screens */
image: string;
/** The image to use for large screens */
largeImage?: string;
/** The image to use for large screens */
imageContained?: boolean;
/** Elements to display inside empty state */
children?: React.ReactNode;
/** Primary action for empty state */
action: Action;
/** Secondary action for empty state */
secondaryAction?: Action;
}
export default class EmptyState extends React.PureComponent<Props, never> {
render(): JSX.Element;
}