[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:
parent
b1c7e6ae20
commit
cdb932ab67
12 changed files with 708 additions and 0 deletions
9
packages/ui/src/dropdown/common/loader.tsx
Normal file
9
packages/ui/src/dropdown/common/loader.tsx
Normal 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>
|
||||
);
|
||||
Loading…
Add table
Add a link
Reference in a new issue