[WEB-1201] dev: dropdowns (#4721)

* chore: lodash package added

* chore: dropdown key down hook added

* dev: dropdown component

* chore: build error and code refactor

* chore: readme file updated
This commit is contained in:
Anmol Singh Bhatia 2024-06-07 13:59:31 +05:30 committed by GitHub
parent b1c7e6ae20
commit cdb932ab67
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
12 changed files with 708 additions and 0 deletions

View file

@ -0,0 +1,9 @@
import React from "react";
export const DropdownOptionsLoader = () => (
<div className="flex flex-col gap-1 animate-pulse">
{Array.from({ length: 6 }, (_, i) => (
<div key={i} className="flex h-[1.925rem] w-full rounded px-1 py-1.5 bg-custom-background-90" />
))}
</div>
);