The Confirm Button component is a styled button labeled “Confirm” used to confirm or approve user selections or actions.
Key points:
onClick
callback when clicked.ConfirmButton.css
, while the button’s placement and positioning are controlled by the parent container.Included files:
ConfirmButton.tsx
— the button component implementation.ConfirmButton.css
— styles defining the button’s appearance and hover states.ConfirmButton.test.tsx
— unit tests verifying rendering and click event behavior.