Browse Source

feat: add PUNCH to FlickerList

pull/2/head
Muthu Kumar 3 months ago
parent
commit
8ca6c69af4
Failed to extract signature
  1. 5
      src/components/FlickerList.tsx

5
src/components/FlickerList.tsx

@ -47,12 +47,13 @@ const Flicker: React.FC<{
border: none; border: none;
color: inherit; color: inherit;
position: relative; position: relative;
font-size: 0.9rem;
`} `}
ref={async el => { ref={async el => {
if (!el) return; if (!el) return;
await sleep(150); await sleep(500);
await sleep(250 * index); await sleep(300 * index);
el.style.opacity = "1"; el.style.opacity = "1";
await sleep(1000 + Math.random() * 1000); await sleep(1000 + Math.random() * 1000);

Loading…
Cancel
Save