visortelle commented on code in PR #789:
URL: https://github.com/apache/pulsar-site/pull/789#discussion_r1488397917
##########
data/usecases.ts:
##########
@@ -0,0 +1,48 @@
+// possible icons, so far: 'user', 'arrow', 'speech' and 'check'
+
+import React, { ReactNode } from 'react';
+
+export type UseCase = {
+ icon: string;
Review Comment:
Instead of this comment above:
```
// possible icons, so far: 'user', 'arrow', 'speech' and 'check'
```
we can use union type here
```ts
icon: 'user' | 'arrow' | 'speech' | 'check';
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]