📈 Open source, privacy-first web analytics — a cookie-less Google Analytics alternative with built-in error tracking and performance monitoring. Self-host it or use our cloud. Get started for free!
TypeScript chartsclickhousedockergdprgoogle-analyticsmetricsmonitoringmysqlnestjsprivacyredisself-hostedselfhostedstatisticstailwindcssweb-analyticswebanalyticswebsite
add comments for ui/beta
kruzhambus379bb99839c4
diff --git a/src/ui/Beta.tsx b/src/ui/Beta.tsxindex 07a2b92e0..6a0c956d4 100644--- a/src/ui/Beta.tsx+++ b/src/ui/Beta.tsx@@ -5,11 +5,13 @@ import { useTranslation } from 'react-i18next'import Tooltip from './Tooltip'import { WarningPin } from './Pin'+// Define the prop types for the componentinterface IBeta {className?: string,}const Beta = ({+ // (string): Additional CSS classes to be applied to the alert container.className,}: IBeta): JSX.Element => {const { t } = useTranslation('common')@@ -25,10 +27,12 @@ const Beta = ({)}+// Define the prop types for the componentBeta.propTypes = {className: PropTypes.string,}+// Define the default props for the componentBeta.defaultProps = {className: '',}