mirror of
https://git.mirrors.martin98.com/https://github.com/SigNoz/signoz
synced 2025-06-04 11:25:52 +08:00

* feat: add list and table views for logs * chore: some of the changes are updated * chore: some of the refactoring is done * chore: px to updated to rem * chore: constant is moved to local storage * refactor: some of the refactoring is updated * chore: some of the changes are updated * fix: resize log table issue * chore: logs is updated * chore: resize header is updated * chore: font observer is added in package json and hook is added for same * chore: no logs text is updated * chore: no logs text is updated * chore: updated some feedback in raw logs line * chore: types is added --------- Co-authored-by: Palash Gupta <palashgdev@gmail.com> Co-authored-by: Pranay Prateek <pranay@signoz.io> Co-authored-by: Vishal Sharma <makeavish786@gmail.com> Co-authored-by: Chintan Sudani <csudani7@gmail.com>
29 lines
580 B
TypeScript
29 lines
580 B
TypeScript
import { InputNumber, Row, Space, Typography } from 'antd';
|
|
import React from 'react';
|
|
|
|
interface PopoverContentProps {
|
|
linesPerRow: number;
|
|
handleLinesPerRowChange: (l: unknown) => void;
|
|
}
|
|
|
|
function PopoverContent({
|
|
linesPerRow,
|
|
handleLinesPerRowChange,
|
|
}: PopoverContentProps): JSX.Element {
|
|
return (
|
|
<Row align="middle">
|
|
<Space align="center">
|
|
<Typography>Max lines per Row </Typography>
|
|
<InputNumber
|
|
min={1}
|
|
max={10}
|
|
value={linesPerRow}
|
|
onChange={handleLinesPerRowChange}
|
|
/>
|
|
</Space>
|
|
</Row>
|
|
);
|
|
}
|
|
|
|
export default PopoverContent;
|