feat: added reddit loader

This commit is contained in:
Siddhant Rai
2024-03-16 20:22:05 +05:30
parent 80a4a094af
commit 60cfea1126
6 changed files with 117 additions and 58 deletions

View File

@@ -35,10 +35,10 @@ function Dropdown({
isOpen
? typeof selectedValue === 'string'
? 'rounded-t-xl'
: 'rounded-t-2xl'
: 'rounded-t-3xl'
: typeof selectedValue === 'string'
? 'rounded-xl'
: 'rounded-full'
: 'rounded-3xl'
}`}
>
{typeof selectedValue === 'string' ? (

View File

@@ -21,6 +21,7 @@ export default function Upload({
{ label: 'Crawler', value: 'crawler' },
// { label: 'Sitemap', value: 'sitemap' },
{ label: 'Link', value: 'url' },
{ label: 'Reddit', value: 'reddit' },
];
const [urlType, setUrlType] = useState<{ label: string; value: string }>({
label: 'Link',