@thlmenezes/ui-react
Version:
Devopness Design System React Components - Painless essential DevOps to everyone
27 lines (26 loc) • 1.92 kB
TypeScript
import { ButtonProps } from '.';
type CustomButton = {
backgroundColor?: string;
color?: string;
borderColor?: string;
};
type StyledProps = {
noMargin?: boolean;
noPadding?: boolean;
size: NonNullable<ButtonProps['typeSize']>;
variant?: string;
custom?: CustomButton;
icon?: boolean;
alignEnd?: boolean;
reversed: boolean;
noPointerEvents?: boolean;
};
declare const ContentIcon: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components/dist/types').Substitute<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, Pick<ButtonProps, "noIconMargin"> & {
reversed: ButtonProps["revertOrientation"];
size: Required<ButtonProps["iconSize"]>;
}>> & string;
declare const Label: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components').FastOmit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, never>> & string;
declare const WrapperButtons: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components/dist/types').Substitute<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, StyledProps>> & string;
declare const BaseButton: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components/dist/types').Substitute<import('react').DetailedHTMLProps<import('react').ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, StyledProps>> & string;
declare const SmallWrapper: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components/dist/types').Substitute<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, StyledProps>> & string;
export { ContentIcon, Label, WrapperButtons, BaseButton, SmallWrapper };