@sendbird/uikit-react
Version:
Sendbird UIKit for React: A feature-rich and customizable chat UI kit with messaging, channel management, and user authentication.
44 lines (43 loc) • 1.62 kB
TypeScript
import React from 'react';
import './index.scss';
import { Typography, Colors } from './types';
import { ObjectValues } from '../../utils/typeHelpers/objectValues';
export type LabelProps = {
className?: string | string[];
type?: ObjectValues<typeof Typography>;
color?: ObjectValues<typeof Colors>;
children?: React.ReactNode;
testID?: string;
};
export declare const Label: React.ForwardRefExoticComponent<LabelProps & React.RefAttributes<HTMLDivElement>>;
declare const LabelTypography: {
readonly H_1: "H_1";
readonly H_2: "H_2";
readonly SUBTITLE_1: "SUBTITLE_1";
readonly SUBTITLE_2: "SUBTITLE_2";
readonly BODY_1: "BODY_1";
readonly BODY_2: "BODY_2";
readonly BUTTON_1: "BUTTON_1";
readonly BUTTON_2: "BUTTON_2";
readonly BUTTON_3: "BUTTON_3";
readonly CAPTION_1: "CAPTION_1";
readonly CAPTION_2: "CAPTION_2";
readonly CAPTION_3: "CAPTION_3";
};
declare const LabelColors: {
readonly ONBACKGROUND_1: "ONBACKGROUND_1";
readonly ONBACKGROUND_2: "ONBACKGROUND_2";
readonly ONBACKGROUND_3: "ONBACKGROUND_3";
readonly ONBACKGROUND_4: "ONBACKGROUND_4";
readonly ONCONTENT_1: "ONCONTENT_1";
readonly ONCONTENT_2: "ONCONTENT_2";
readonly ONCONTENT_3: "ONCONTENT_3";
readonly ONCONTENT_INVERSE_1: "ONCONTENT_INVERSE_1";
readonly ONCONTENT_INVERSE_3: "ONCONTENT_INVERSE_3";
readonly PRIMARY: "PRIMARY";
readonly ERROR: "ERROR";
readonly SECONDARY_3: "SECONDARY_3";
};
declare const LabelStringSet: import("./stringSet").StringSet;
export { LabelTypography, LabelColors, LabelStringSet };
export default Label;