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

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

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