File tree 1 file changed +4
-8
lines changed
1 file changed +4
-8
lines changed Original file line number Diff line number Diff line change 1
1
/**
2
2
* The WipCallout function renders a custom callout component with optional context text for
3
3
* displaying maintenance messages.
4
- * @param {Props } - The code snippet you provided is a React component named `WipCallout` that
5
- * renders a special callout message. The component takes an optional prop `context` of type string,
6
- * which can be used to customize the message displayed in the callout.
7
- * @returns The WipCallout component is being returned, which is a React element representing a
8
- * custom callout with a message. The message displayed depends on the value of the `context` prop
9
- * passed to the component. If `context` is provided, it will display the provided context message. If
10
- * `context` is not provided, it will display a default maintenance message.
4
+ * @param {Props } props - An object containing the optional `context` property, a string used
5
+ * to customize the message displayed in the callout.
6
+ * @returns {ReactElement } The WipCallout component, representing a custom callout message.
11
7
*/
12
8
import type { ReactElement } from 'react' ;
13
9
import { useState } from 'react' ;
@@ -115,4 +111,4 @@ export function AltCallout(props: Props): ReactElement {
115
111
116
112
export function CGTCallout ( props : Props ) : ReactElement {
117
113
return < BetaCallout { ...props } featureName = "Custom Gas Token" /> ;
118
- }
114
+ }
You can’t perform that action at this time.
0 commit comments