mirror of
https://github.com/oxen-io/session-desktop.git
synced 2023-12-14 02:12:57 +01:00
26 lines
472 B
TypeScript
26 lines
472 B
TypeScript
export type RenderTextCallbackType = (options: {
|
|
text: string;
|
|
key: number;
|
|
isGroup?: boolean;
|
|
convoId?: string;
|
|
}) => 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';
|
|
|
|
export enum Colors {
|
|
OFFLINE = '#3d3e44',
|
|
OFFLINE_LIGHT = '#cccece',
|
|
ONLINE = '#00f782',
|
|
}
|