MKHenson / hatchery-editor

Engine for building, deploying and sharing web apps within the Webinate community
GNU General Public License v2.0
0 stars 0 forks source link

Create TSX standarized buttons #47

Closed MKHenson closed 8 years ago

MKHenson commented 8 years ago

We have a lot of code that repeats the creation of divs as buttons. This is just clunky as it requires re-defining classes each time, and in the case of button elements also calling e.preventDefault. Instead we should create a TSX folder for each of the different buttons. This will make things neater and have one location for us to change the look of the buttons.