The code snippet for Alert.tsx won't compile. The error is:
`[!] (plugin typescript) Error: @rollup/plugin-typescript TS2339: Property 'children' does not exist on type 'AlertProps'.
src/components/Alert.tsx (10:79)
10 export const Alert: FunctionComponent = ({ alertStyle, className, children }) => children ? (`
Whoever wrote the code snippet didn't test it to see that it works. It needs an additional property named children.
Please use the form below, leaving the prefilled data to help us. Thank you.
Page link: build-a-pluggable-web-widget-part-2-advanced
Document link: create-a-pluggable-widget-two.md
My Issue/Suggestion
The code snippet for Alert.tsx won't compile. The error is:
`[!] (plugin typescript) Error: @rollup/plugin-typescript TS2339: Property 'children' does not exist on type 'AlertProps'. src/components/Alert.tsx (10:79)
10 export const Alert: FunctionComponent = ({ alertStyle, className, children }) => children ? (`
Whoever wrote the code snippet didn't test it to see that it works. It needs an additional property named children.