@veracity/vui
Version:
Veracity UI is a React component library crafted for use within Veracity applications and pages. Based on Styled Components and @xstyled.
14 lines (12 loc) • 548 B
TypeScript
import { ThemingProps } from "../theme/types.js";
import { SystemProps } from "../system/system.js";
import { AvatarProps } from "../avatar/avatar.types.js";
import { ReactNode } from "react";
//#region src/message/message.types.d.ts
type MessageProps = SystemProps & ThemingProps<'Message'> & {
/** Displays given text if no children are provided. */text?: ReactNode; /** If provided, it shows the avatar instead of the status icon */
avatar?: AvatarProps;
};
//#endregion
export { MessageProps };
//# sourceMappingURL=message.types.d.ts.map