Skip to content

Add ToolTip #2

Description

@iamshadmirza

A ToolTip would be a good addition to the library. Let me know if you wanna take this issue.
To setup development environment see contribution page here.
You can see other components and try to follow the same structure.
ToolTip (/src/folder)

  • ToolTip.js
  • ToolTip.stories.mdx

You can check out these two links for reference

A basic tooltip component has to be created at first. Then we will customize API according to the design rules of the system by adding some props like color, size, etc. This will be fun.

I am not sure if StoryBook will be appropriate for such a type of component so you can simply create a CRNA project also.

react-native init ToolTipDev

Go inside the project and then initialize as git

git init

add the repo as GitHub submodule

git submodule add https://github.com/iamshadmirza/react-native-design-system

Now you will have the project setup and your IDE will detect two separate Git Projects.
React-Native-Design-System (bottom one) will commit to this project.

  1. Create a branch
cd react-native-design-system

then

git checkout -b <branch name>
  1. Make changes
  2. Create Pull Request

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions