@combine-labs/combine-polaris
Version:
Combine Lab's product component library. Forked from Shopify's Polaris.
20 lines (19 loc) • 743 B
TypeScript
import * as React from 'react';
import { Action } from '../../types';
export interface Props {
/** Content to display as title */
title?: React.ReactNode;
/** Content to display as additional details */
details?: React.ReactNode;
/** Content to display as terms of service */
termsOfService?: React.ReactNode;
/** The name of the service */
accountName?: string;
/** URL for the user’s avatar image */
avatarUrl?: string;
/** Set if the account is connected */
connected?: boolean;
/** Action for account connection */
action?: Action;
}
export default function AccountConnection({ connected, action, avatarUrl, accountName, title, details, termsOfService, }: Props): React.ReactNode;