import React from 'react'
import classNames from 'classnames';

interface Props {
    styles: string;
    children?: React.ReactNode;
    onClick: () => void;
  }

export const LinkButton: React.FC<Props> = ({onClick, styles, children}) => {
    return(
        <div className='link_main'>
            <button type="submit" className= {classNames('link_button', styles )} onClick = {onClick}>{children}</button>
        </div>
    )
}