diff --git a/anwendung/src/components/Button.jsx b/anwendung/src/components/Button.jsx index f1ab134..9a05edb 100644 --- a/anwendung/src/components/Button.jsx +++ b/anwendung/src/components/Button.jsx @@ -1,19 +1,33 @@ import "../styles/App.css" +/** + * Function Takes in Paramter for: + * text: text to be shown on the button + * width, height: width and height of the button + * icon: an icon that should be shown on the button (HTML tag) (see Icons.js for example) + * iconWidth, iconHeight: width and height of the icon + * onClick: a function that should be run if the button is clicked + * Example for onClick: + *