diff --git a/frontend/src/components/regex/RegexGeneralTab.jsx b/frontend/src/components/regex/RegexGeneralTab.jsx index 4041220..b18db9f 100644 --- a/frontend/src/components/regex/RegexGeneralTab.jsx +++ b/frontend/src/components/regex/RegexGeneralTab.jsx @@ -1,6 +1,7 @@ import React, {useState} from 'react'; import PropTypes from 'prop-types'; -import TextArea from '../ui/TextArea'; +import MarkdownEditor from '@ui/MarkdownEditor'; +import AddButton from '@ui/DataBar/AddButton'; import {InfoIcon} from 'lucide-react'; const RegexGeneralTab = ({ @@ -41,19 +42,24 @@ const RegexGeneralTab = ({
)} -+ Give your regex pattern a descriptive name +
++ Enter your regular expression pattern +
@@ -100,19 +110,24 @@ const RegexGeneralTab = ({ value={pattern} onChange={e => onPatternChange(e.target.value)} className='w-full h-24 rounded-md border border-gray-300 dark:border-gray-600 - bg-white dark:bg-gray-700 px-3 py-2 + bg-gray-50 dark:bg-gray-800 px-3 py-2 text-gray-900 dark:text-gray-100 font-mono text-sm - focus:border-blue-500 dark:focus:border-blue-400 - focus:outline-none focus:ring-1 focus:ring-blue-500 dark:focus:ring-blue-400' + focus:outline-none focus:ring-2 focus:ring-blue-500 focus:border-transparent + transition-colors duration-200' placeholder='Enter your regex pattern here...' />
+ Add tags to organize and categorize this pattern +
+