Tips.tsx 578 B

12345678910111213141516171819202122232425262728
  1. import Icon from '@/components/Icon';
  2. export function TipBad({ children }) {
  3. return (
  4. <div className="tip font-medium">
  5. <Icon name="circle-x-filled" color="red" />
  6. {children}
  7. </div>
  8. );
  9. }
  10. export function TipGood({ children }) {
  11. return (
  12. <div className="tip font-medium">
  13. <Icon name="circle-check-filled" color="green" />
  14. {children}
  15. </div>
  16. );
  17. }
  18. export function TipChanges({ children }) {
  19. return (
  20. <div className="tip font-medium">
  21. <Icon name="alert-circle-filled" color="violet" />
  22. {children}
  23. </div>
  24. );
  25. }