88 |
handlePlatformChange(index, 'name', e.target.value)}
93 | className="block w-full mb-2 p-2 border rounded-md bg-gray-50 dark:bg-gray-700 border-gray-300 dark:border-gray-600 text-gray-900 dark:text-gray-100 placeholder-gray-400 dark:placeholder-gray-500 transition-colors"
94 | />
95 |
handlePlatformChange(index, 'match', e.target.value)}
100 | className="block w-full mb-2 p-2 border rounded-md bg-gray-50 dark:bg-gray-700 border-gray-300 dark:border-gray-600 text-gray-900 dark:text-gray-100 placeholder-gray-400 dark:placeholder-gray-500 transition-colors"
101 | />
102 |
103 |
116 |
129 |
130 | {platform.option === 'redirect' && (
131 |
handlePlatformChange(index, 'redirect', e.target.value)}
136 | className="block w-full mb-2 p-2 border rounded-md bg-gray-50 dark:bg-gray-700 border-gray-300 dark:border-gray-600 text-gray-900 dark:text-gray-100 placeholder-gray-400 dark:placeholder-gray-500 transition-colors"
137 | />
138 | )}
139 | {platform.option === 'showCode' && (
140 | <>
141 |
handlePlatformChange(index, 'url', e.target.value)}
146 | className="block w-full mb-2 p-2 border rounded-md bg-gray-50 dark:bg-gray-700 border-gray-300 dark:border-gray-600 text-gray-900 dark:text-gray-100 placeholder-gray-400 dark:placeholder-gray-500 transition-colors"
147 | />
148 |
handlePlatformChange(index, 'tip', e.target.value)}
153 | className="block w-full mb-2 p-2 border rounded-md bg-gray-50 dark:bg-gray-700 border-gray-300 dark:border-gray-600 text-gray-900 dark:text-gray-100 placeholder-gray-400 dark:placeholder-gray-500 transition-colors"
154 | />
155 | >
156 | )}
157 |
163 |