Closed mhenriette closed 2 weeks ago
Create the friends list component. The list depicts the friends' list and the user uses it to choose who can see his activity.
/component/list/Friends.tsx
Who can see
Add the list of friends
Each list item should include a checkbox and the friend's name
When an item is clicked, update the list data to add isChecked to the corresponding item.
Pass the isChecked value as a prop to the Checkbox component so it applies the correct styles, as specified in the Figma design and the #7 ticket.
isChecked
Follow the spacing styles as designed in the Figma
Render the component in the editSignal screen
Figma: https://www.figma.com/design/ZcPlin9PqvfVKaeM8VfUov/SocialApp?node-id=304-16366&t=37pBx5Q5Mag7el4U-4
@mhenriette this should be inside editSignal screen. the settings screen shall be empty for now since we don't have a design for that cc: @darioaschero
Objective:
Create the friends list component. The list depicts the friends' list and the user uses it to choose who can see his activity.
Description:
/component/list/Friends.tsx
folderWho can see
, and use the Typography component created in ticket #3 with the appropriate props to match the Figma design.Add the list of friends
Each list item should include a checkbox and the friend's name
When an item is clicked, update the list data to add isChecked to the corresponding item.
Pass the
isChecked
value as a prop to the Checkbox component so it applies the correct styles, as specified in the Figma design and the #7 ticket.Follow the spacing styles as designed in the Figma
Render the component in the editSignal screen
Acceptance Criteria:
Who can see
and the friendsListDesign:
Figma: https://www.figma.com/design/ZcPlin9PqvfVKaeM8VfUov/SocialApp?node-id=304-16366&t=37pBx5Q5Mag7el4U-4