docs and background for details page
This commit is contained in:
parent
3f075d509b
commit
ef8388be6d
5 changed files with 123 additions and 106 deletions
|
|
@ -5,6 +5,9 @@ type ButtonProps = BasicButtonProps & {
|
|||
onClick: () => void;
|
||||
};
|
||||
|
||||
/**
|
||||
* Button component. Styles are defined in BasicButtonDefinitions.ts
|
||||
*/
|
||||
export default function Button({
|
||||
onClick,
|
||||
icon: Icon,
|
||||
|
|
@ -15,7 +18,7 @@ export default function Button({
|
|||
}: ButtonProps) {
|
||||
return (
|
||||
<button
|
||||
className={`basic-button ${buttonType.backgroundColor} ${buttonType.textColor} ${className}`}
|
||||
className={`basic-button bg-primary-button-bg ${buttonType.backgroundColor} ${buttonType.textColor} ${className}`}
|
||||
onClick={onClick}
|
||||
{...props}
|
||||
>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue