import { IconFileStack } from '@tabler/icons-solidjs' import { Component, For } from 'solid-js' import { ConfigTitle, Modal } from '~/components' import { LOGS_TABLE_MAX_ROWS_LIST, LOG_LEVEL, TAILWINDCSS_SIZE, } from '~/constants' import { useI18n } from '~/i18n' import { logLevel, logMaxRows, logsTableSize, setLogLevel, setLogMaxRows, setLogsTableSize, } from '~/signals' export const LogsSettingsModal: Component<{ ref?: (el: HTMLDialogElement) => void }> = (props) => { const [t] = useI18n() return ( props.ref?.(el)} icon={} title={t('logsSettings')} >
{t('tableSize')}
{t('logLevel')}
{t('logMaxRows')}
) }