mirror of
https://github.com/tabler/tabler.git
synced 2026-08-14 23:32:25 +04:00
29 lines
578 B
TypeScript
29 lines
578 B
TypeScript
import Icon from '@/components/Icon';
|
|
|
|
export function TipBad({ children }) {
|
|
return (
|
|
<div className="tip font-medium">
|
|
<Icon name="circle-x-filled" color="red" />
|
|
{children}
|
|
</div>
|
|
);
|
|
}
|
|
|
|
export function TipGood({ children }) {
|
|
return (
|
|
<div className="tip font-medium">
|
|
<Icon name="circle-check-filled" color="green" />
|
|
{children}
|
|
</div>
|
|
);
|
|
}
|
|
|
|
export function TipChanges({ children }) {
|
|
return (
|
|
<div className="tip font-medium">
|
|
<Icon name="alert-circle-filled" color="violet" />
|
|
{children}
|
|
</div>
|
|
);
|
|
}
|