-
Notifications
You must be signed in to change notification settings - Fork 7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Improve Result Component #66
Comments
Ok I see. How can I test my updated Result.jsx file? I tried to implement some stuff to output results based on the parameters you requested but don't understand where or how to call the function. |
@uhtna Easiest way, add a new route in App.jsx with additional route like this: |
@uhtna Have you imported Result? |
@uhtna Check the React manual for detail |
The improved Result component should use React Hooks and include following parameters:
status
parameter that take success | error | info | warningtitle
parameter to dispaly a title under the icon on Result pageintro
parameter to display additional information for explanation.Antd Result Component is a good example.
The text was updated successfully, but these errors were encountered: