-
Notifications
You must be signed in to change notification settings - Fork 21
Expand file tree
/
Copy pathCallout.d.ts
More file actions
25 lines (20 loc) · 900 Bytes
/
Callout.d.ts
File metadata and controls
25 lines (20 loc) · 900 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
import * as React from 'react';
export type CalloutColorFamily = 'green-tilleul-verveine' | 'green-bourgeon' | 'green-emeraude' | 'green-menthe' | 'green-archipel' | 'blue-ecume' | 'blue-cumulus' | 'purple-glycine' | 'pink-macaron' | 'pink-tuile' | 'yellow-tournesol' | 'yellow-moutarde' | 'orange-terre-battue' | 'brown-cafe-creme' | 'brown-caramel' | 'brown-opera' | 'beige-gris-galet' | '';
export type CalloutChildren = React.ReactNode[] | React.ReactNode;
export interface CalloutProps {
/**
* @deprecated The method should not be used
*/
hasInfoIcon?: boolean;
icon?: Nullable<string>;
colorFamily?: CalloutColorFamily;
/**
* first color is color of the border, second is background
* be careful with contrast
*/
colors?: string[];
children: CalloutChildren;
className?: string;
}
declare const Callout: React.FC<CalloutProps>;
export default Callout;