Files
Signal-Desktop/ts/types/Util.ts

20 lines
351 B
TypeScript

export type RenderTextCallbackType = (options: {
text: string;
key: number;
}) => JSX.Element | string;
export type LocalizerType = (key: string, values?: Array<string>) => string;
export type ColorType =
| 'gray'
| 'blue'
| 'cyan'
| 'deep_orange'
| 'green'
| 'indigo'
| 'pink'
| 'purple'
| 'red'
| 'teal'
| 'ultramarine';