Add typescript support.
This project is great! Will you have official typescript support?
I'd second this, I'm in the process of deciding whether to use this or ant.d atm
Same, I'd love to use this with Typescript
I love shard-react. The design is beautiful and elegant. Can you guys please add Typescript support
+1
@design-revision Maybe we can think about refactor by typescript or use ts declaration files?
I have added a PR with type declarations. They arent perfect, but its a good starting point. See #31
+1
@BendaCoding are the types committed and available through npm?
+1
I would also appreciate the typescript support.
Typescript support please!
I also please very much
++
++++
+1 This is basically a requirement of all modern UI frameworks at this point @design-revision
+1 This is great project! I would appreciate typescript support. Then more better.
I have found types filetypes/shards-react.d.ts in PR #31.
It seems, it have not merged yet, so I extracted type declarations.
I will share this one for all, And very respect for @BendaCoding !
I modified it a little:
- I modified All components accept AllHTMLAttributes, =>
BaseProps extends React.AllHTMLAttributes<any>. - I modified the type of
NavbarProps.stickytostring | boolean. - I wraped them by
declare module 'shards-react'.
usages
- Please rename
shards-react.d.ts.txt=>shards-react.d.ts, and put it in your source dir.