jaredpalmer / jaredpalmer/squeezy

Controlled component

Open
#1 0 comments 2 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
29
Forks
1
PR merge metrics
No merged PRs in 30d

Description

Hi @jaredpalmer, first of all thank you for your work!

I'm trying to use it as a Controlled Component but I think that I'm missing something(https://codesandbox.io/s/104l1rp7j4).

I though that by passing a prop `isOpen` we can control its state.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reproducing the controlled-component behavior in the linked CodeSandbox and review the component's public API for the `isOpen` prop. Confirm whether the prop is intended to control the accordion state, then verify that the component responds to external open-state changes and document or test the expected behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
react, typescript
Domain
accessibility, frontend
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.