openreplay/frontend/app/components/Session_/Highlight/HighlightButton.tsx
Andrey Babushkin fd5c0c9747
Add lokalisation (#3092)
* applied eslint

* add locales and lint the project

* removed error boundary

* updated locales

* fix min files

* fix locales
2025-03-06 17:43:15 +01:00

19 lines
517 B
TypeScript

import React from 'react';
import { Button, Tooltip } from 'antd';
import { MessageSquareQuote } from 'lucide-react';
import { Icon } from 'UI';
function HighlightButton({ onClick }: { onClick: () => void }) {
const openPanel = () => {
onClick();
};
return (
<Tooltip title="Highlight a moment" placement="bottom">
<Button onClick={openPanel} size="small">
<Icon name="chat-square-quote" color="inherit" size={15} />
</Button>
</Tooltip>
);
}
export default HighlightButton;