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_20220518155013.tsx

19 lines
481 B

import React from 'react'
import classNames from 'classnames';
interface Props {
align: string;
styles: string;
children?: React.ReactNode;
onClick: () => void;
}
export const LinkButton: React.FC<Props> = ({onClick, color, styles, children}) => {
return(
<div className='link_main'>
<button type="submit" className={'link_button ' + ' ' + color} onClick = {onClick}>{children}</button>
</div>
)
}
export default LinkButton;