Closed danielgamage closed 2 years ago
ohhhhh you know what....I wonder if that syntax was only working in dropmark-next
because we're using typescript on that project 🤔
I was looking at what other people do, and it seems that JSDocs is often used in conjunction with TS or prop-types such as https://www.inkoop.io/blog/a-guide-to-js-docs-for-react-js/
merging this for now—we might have another style of this
but we can come back to it
from Card+Icon component. named this IconCard, but i guess it could be CardAndIcon?
added some pre-typescript type comments but they don't work GR8. i couldn't get the
syntax to surface any type info in the editor, it just made all the props
any
, but i'm probably doing something wrong...fixes #8