Building a Greeter app
Step 1: Create an app with the title “Greeter”. Run the following command and provide the information it is looking for.-
Create a component
greeter/components/GreeterButton.tsx
- You can name it whatever you want. -
Import this component in
Shell.tsx
and add it wherever you want to so that the button is available on all pages.
