sonia-auv / octopus-telemetry

The telemetry is a web app to control and monitor the AUVs.
GNU General Public License v3.0
2 stars 1 forks source link

Use a generic Button component #58

Closed laurentboisvert closed 3 years ago

laurentboisvert commented 3 years ago

TODOS

Description

Creates a generic button component to be used in the project. This button can be stylized by the parent component (the React component rendering <Button /> with:

The precedence rules of the styling are as follows

Base Button style (overriden by) className= (overriden by) style= Meaning that if a rule in style is also defined in the CSS classname, the button will apply the rule of style.

Fixes

Fixes the inconsistent appearance of the buttons in the app.

How has this been tested ?

Checklist