carbon-react
Version:
A library of reusable React components for easily building user interfaces.
16 lines (15 loc) • 1.5 kB
TypeScript
import { ProfileSize } from "./profile.config";
interface ProfileSProps {
size?: ProfileSize;
hasSrc?: boolean;
darkBackground?: boolean;
}
declare const ProfileNameStyle: import("styled-components").StyledComponent<"span", any, ProfileSProps, never>;
declare const ProfileEmailStyle: import("styled-components").StyledComponent<import("react").ForwardRefExoticComponent<import("../link").LinkProps & import("react").RefAttributes<HTMLAnchorElement | HTMLButtonElement>>, any, Pick<ProfileSProps, "size" | "darkBackground">, never>;
declare const ProfileTextStyle: import("styled-components").StyledComponent<"span", any, ProfileSProps, never>;
declare const ProfileStyle: import("styled-components").StyledComponent<"div", any, {
theme: object;
} & Pick<ProfileSProps, "darkBackground" | "hasSrc">, "theme">;
declare const ProfileDetailsStyle: import("styled-components").StyledComponent<"div", any, Pick<ProfileSProps, "size" | "hasSrc">, never>;
declare const ProfileAvatarStyle: import("styled-components").StyledComponent<({ alt, backgroundColor, foregroundColor, name, darkBackground, iconType, initials, shape, size, src, onClick, tooltipMessage, tooltipId, tooltipIsVisible, tooltipPosition, tooltipType, tooltipSize, tooltipBgColor, tooltipFontColor, ...rest }: import("../portrait").PortraitProps) => import("react").JSX.Element, any, {}, never>;
export { ProfileStyle, ProfileNameStyle, ProfileDetailsStyle, ProfileAvatarStyle, ProfileEmailStyle, ProfileTextStyle, };