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.
 
 
 
pizza.krasnikov.pro/.history/components/UI/LinkButton_20220518155950.tsx

15 lines
397 B

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>
)
}