docs and background for details page

This commit is contained in:
Anika Raemer 2025-10-12 20:09:00 +02:00
parent 3f075d509b
commit ef8388be6d
5 changed files with 123 additions and 106 deletions

View file

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