Skip to content

Conversation

@Yakup3
Copy link

@Yakup3 Yakup3 commented Sep 2, 2024

Pull Request Description

Summary:

  • Added onClick Prop to the component, which provides city and plate values when an SVG path is clicked.

Details:

  • When a user clicks on an SVG path, the onClick prop is now triggered with the city and plate attributes from the clicked element.
  • This replaces the previous console.log functionality with a more flexible onClick callback.

Relevant Commit:

  • The primary changes for this feature are in commit-link, which introduces the new onClick prop and its functionality.
  • For reference, some additional commits involve formatting updates. You can focus on the mentioned commit for the specific changes related to the onClick prop.

@Yakup3 Yakup3 closed this Sep 2, 2024
@Yakup3 Yakup3 reopened this Sep 2, 2024
@Yakup3 Yakup3 changed the title On click city SVG path click Sep 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant