react-odyssey
Version:
React components for Odyssey design system
9 lines (8 loc) • 367 B
TypeScript
import React, { FunctionComponent, HTMLAttributes } from 'react';
import { Omit } from './util';
export declare type Callouts = "pending" | "info" | "warning" | "error";
export declare type CalloutProps = Omit<HTMLAttributes<HTMLElement>, 'title'> & {
kind: Callouts;
title?: React.ReactNode;
};
export declare const Callout: FunctionComponent<CalloutProps>;