@dabapps/roe
Version:
A collection of React components, styles, mixins, and atomic CSS classes to aid with the development of web applications.
24 lines (23 loc) • 784 B
TypeScript
import * as React from 'react';
import { OptionalComponentPropAndHTMLAttributes } from '../../types';
export declare type SpeechBubbleProps = {
/**
* Set the style `display: block;`.
*/
block?: boolean;
/**
* Display the tail on either the left or the right.
* @default 'left'
*/
tailPosition?: 'left' | 'right';
/**
* Elements to display above the speech bubble such as user name or time of post.
*/
header?: React.ReactChild;
/**
* Elements to display below the speech bubble such as user name or time of post.
*/
footer?: React.ReactChild;
} & OptionalComponentPropAndHTMLAttributes;
declare const _default: React.MemoExoticComponent<(props: SpeechBubbleProps) => JSX.Element>;
export default _default;