Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

Add Storybook stories for AccessibleUnlockAmount

Open Beginner friendly
#965 0 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
78/100
Issue type
Documentation
Clarity
Clearly specified
Activity status
Active

Research direction

Start in components/ui/accessible-unlock-amount.tsx, read its TypeScript props for amount, decimals and symbol, and open components/ui/badge.stories.tsx as the pattern. Create components/ui/accessible-unlock-amount.stories.tsx with stories for active, cliff reached, completed and hidden pause button, mocking any hooks or providers the component needs. Done when all four states render in npm run storybook and npx tsc --noEmit passes.

Written by the indexing model from the issue text.

Description

documentation frontend good first issue

Description

AccessibleUnlockAmount has no stories, so its states can't be reviewed in isolation. A previous story was removed because it used props that don't exist (unlockedAmount, tokenSymbol) — please use the real amount/decimals/symbol props.

History

Follow-up to #718, whose story was removed in #892.

Location

components/ui/accessible-unlock-amount.tsx. Stories live next to the component as *.stories.tsx (see components/ui/badge.stories.tsx).

Task

Add a *.stories.tsx covering:

  • active
  • cliff reached
  • completed
  • hidden pause button

Use the component's real props (check its TypeScript props) and mock hooks/providers where needed.

Acceptance criteria

  • Stories render in npm run storybook
  • npx tsc --noEmit reports no errors in the story file
  • Each listed state has a story

Good for contributors because

No app logic to change; a friendly way to learn the UI components.

Dominant language
TypeScript
Stars
1
Forks
144
Avg merge
13h 50m
Merged PRs (30d)
41

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from FlowwStar/FlowStar

All issues in FlowwStar/FlowStar

Similar issues

More TypeScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.