You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
16 lines
434 B
16 lines
434 B
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>
|
|
)
|
|
} |