import React from "react";
import { CustomButton } from "./ExampleCustomButtonStyles";

export interface CustomButtonProps {
    color?: string;
    children?: React.ReactNode;
    text?: string;
}
// use named export for the component to apply typescript docgen
export const Button: React.FC<CustomButtonProps> = (props) => {
    return (
        <CustomButton {...props}>
            {props.children}
        </CustomButton>
    );
}
