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.
19 lines
481 B
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; |