import { ElementType, FC, PropsWithChildren } from 'react'; import { Button, ButtonProps } from './Button'; import { ButtonCondensed, ButtonCondensedProps } from '../ButtonCondensed/ButtonCondensed'; import { ButtonIcon, ButtonIconProps } from '../ButtonIcon/ButtonIcon'; import { ButtonIconCondensed, ButtonIconCondensedProps } from '../ButtonIconCondensed/ButtonIconCondensed'; type MyCustomButtonProps = PropsWithChildren<{ description: string; id: string; }>; /** * A helper component used to demonstrate how to pass a custom component to a Slab button. * This component is intended for internal documentation and example purposes only. * * @internal */ export declare const MyCustomButton: FC; type CustomButtonStyleProps = { $myCustomStyleProp: string; }; type MyComplexStyledButtonProps = CustomButtonStyleProps & ButtonProps; type MyComplexStyledButtonType = (props: MyComplexStyledButtonProps) => ReturnType; /** * A helper component used to demonstrate how to use custom styled-components props * with the Slab button. This component is intended for documentation and example * purposes only. * * @internal */ export declare const MyComplexStyledButton: MyComplexStyledButtonType; type MyComplexStyledButtonCondensedProps = CustomButtonStyleProps & ButtonCondensedProps; type MyComplexStyledButtonCondensedType = (props: MyComplexStyledButtonCondensedProps) => ReturnType; /** * A helper component used to demonstrate how to use custom styled-components props * with the Slab ButtonCondensed. This component is intended for documentation and example * purposes only. * * @internal */ export declare const MyComplexStyledButtonCondensed: MyComplexStyledButtonCondensedType; type MyComplexStyledButtonIconProps = CustomButtonStyleProps & ButtonIconProps; type MyComplexStyledButtonIconType = (props: MyComplexStyledButtonIconProps) => ReturnType; /** * A helper component used to demonstrate how to use custom styled-components props * with the Slab ButtonIcon. This component is intended for documentation and example * purposes only. * * @internal */ export declare const MyComplexStyledButtonIcon: MyComplexStyledButtonIconType; type MyComplexStyledButtonIconCondensedProps = CustomButtonStyleProps & ButtonIconCondensedProps; type MyComplexStyledButtonIconCondensedType = (props: MyComplexStyledButtonIconCondensedProps) => ReturnType; /** * A helper component used to demonstrate how to use custom styled-components props * with the Slab ButtonIconCondensed. This component is intended for documentation and example * purposes only. * * @internal */ export declare const MyComplexStyledButtonIconCondensed: MyComplexStyledButtonIconCondensedType; export {};