popup
2 years ago
Container.tsx
2 years ago
FeedbackButton.tsx
2 years ago
FeedbackIcon.tsx
2 years ago
index.tsx
2 years ago
FeedbackButton.tsx
24 lines
| 1 | import React from 'react'; |
| 2 | import FeedbackIcon from './FeedbackIcon'; |
| 3 | |
| 4 | const FeedbackButton = (props) => { |
| 5 | return ( |
| 6 | <button |
| 7 | className={'button button-primary'} |
| 8 | style={{ |
| 9 | display: 'flex', |
| 10 | alignItems: 'center', |
| 11 | gap: '2px', |
| 12 | padding: '2px 10px', |
| 13 | borderRadius: '10px', |
| 14 | fontSize: '14px', |
| 15 | }} |
| 16 | {...props} |
| 17 | > |
| 18 | <FeedbackIcon /> {props.children} |
| 19 | </button> |
| 20 | ); |
| 21 | }; |
| 22 | |
| 23 | export default FeedbackButton; |
| 24 |