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.
15 lines
370 B
15 lines
370 B
|
|
import React from 'react';
|
|
|
|
interface Props {
|
|
children?: React.ReactNode;
|
|
onClick: () => void;
|
|
disable: boolean;
|
|
color: string;
|
|
}
|
|
|
|
export const Button: React.FC<Props> = ({children, onClick, disable, color}) => {
|
|
return(
|
|
<button className={"button-17 "+ color} role="button" onClick={onClick} disabled={disable}>{children}</button>
|
|
)
|
|
} |