Closed isaabutaa closed 3 years ago
Visit the preview URL for this PR (updated for commit 9712b12):
https://tcl-28-shopping-list--pr53-ia-button-component-w3l1r3tm.web.app
(expires Thu, 09 Sep 2021 00:34:03 GMT)
π₯ via Firebase Hosting GitHub Action π
It might just be me but the inputs are not working anymore? I am able to add an empty item to the list, or not have to submit a frequency and still add the item. I also am not able to join an existing list :( But everything else works fine! Would love to confirm as it might just be me.
Thank you @sandaiiyahh for the feedback! π I'm going to check it out and see what's going on there.
Description
GreenButton
π’ component that can be used throughout the application (however, this button component does not replace the delete or search buttons)src/themes/theme.js
so that there is a border radiusHome
AddItem
ItemsList
btnText
- this prop represents the button textclickFunction
- this prop represents whatever function runs whenever the button is clicked, like ahandleClick
orhandleSubmit
for exampleGreenButton
component in theItemsList
&AddItem
components as a way to navigate to other pages. The existing navigation links we had at the bottom of the page are still there just in case we want to revert back to those or do something differentGreenButton.css
file for styling, but that file is kind of useless tbh πRelated Issue
Closes #45
Acceptance Criteria
Create a reusable button component that will be used throughout the application
AC
Type of Changes
Updates
Before
After
Testing Steps / QA Criteria
git checkout ia-button-component
npm start