GeezerVisonThe World Wide Web, restored to 800 pixels of glory. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Home|About|Gaming cabinet|Archives|How it works|Starter sites | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
GeezerVison is showing github.com — feat: created input box component and stories for it by ashmitjsg · Pull Request #3093 · asyncapi/website Conversation
ashmitjsg
requested review from
Mayaleeeee,
akshatnema,
anshgoyalevil,
asyncapi-bot-eve,
derberg and
magicmatatjahu
as code owners
|
There was an error while loading. Please reload this page.
✅ Deploy Preview for asyncapi-website ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
|
⚡️ Lighthouse report for the changes in this PR:
Lighthouse ran on https://deploy-preview-3093--asyncapi-website.netlify.app/ |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
| export interface InputBoxProps { | ||
| // eslint-disable-next-line prettier/prettier | ||
|
|
||
| /** Type of the input. */ | ||
| inputType: string; | ||
|
|
||
| /** Name of the input. */ | ||
| inputName: string; | ||
|
|
||
| /** Placeholder of the input. */ | ||
| placeholder: string; | ||
|
|
||
| /** Value of the input. */ | ||
| inputValue: string; | ||
|
|
||
| /** The function to set value of the input. */ | ||
| setInput: (value: string) => void; | ||
| } |
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
Add this interface in component/types folder and export it from there as it will be used in other components as well.
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
Done
Sorry, something went wrong.
There was an error while loading. Please reload this page.
| // eslint-disable-next-line prettier/prettier | ||
|
|
||
| /** Type of the input. */ | ||
| inputType: string; |
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
We can specify the inputTypes in the form of strings or enums.
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
Done
Sorry, something went wrong.
There was an error while loading. Please reload this page.
| "@next/mdx": "^14.1.0", | ||
| "@octokit/graphql": "^7.0.2", | ||
| "@slack/web-api": "^7.0.2", | ||
| "@storybook/preview-api": "^8.2.2", |
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
Why we added this package?
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
/rtm |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
Successfully merging this pull request may close these issues.
There was an error while loading. Please reload this page.