Giter Site home page Giter Site logo

Comments (17)

toyosawa avatar toyosawa commented on June 3, 2024 7

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 !

shards-react.d.ts.txt

I modified it a little:

  • I modified All components accept AllHTMLAttributes, =>BaseProps extends React.AllHTMLAttributes<any>.
  • I modified the type of NavbarProps.sticky to string | 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.

from shards-react.

theivanfranco avatar theivanfranco commented on June 3, 2024 4

+1

from shards-react.

AxSch avatar AxSch commented on June 3, 2024

I'd second this, I'm in the process of deciding whether to use this or ant.d atm

from shards-react.

shawnbaughcodes avatar shawnbaughcodes commented on June 3, 2024

Same, I'd love to use this with Typescript

from shards-react.

dayemsiddiqui avatar dayemsiddiqui commented on June 3, 2024

I love shard-react. The design is beautiful and elegant. Can you guys please add Typescript support

from shards-react.

BendaCoding avatar BendaCoding commented on June 3, 2024

+1

from shards-react.

Saul-Mirone avatar Saul-Mirone commented on June 3, 2024

@design-revision Maybe we can think about refactor by typescript or use ts declaration files?

from shards-react.

BendaCoding avatar BendaCoding commented on June 3, 2024

I have added a PR with type declarations.
They arent perfect, but its a good starting point.
See #31

from shards-react.

times29 avatar times29 commented on June 3, 2024

+1

from shards-react.

jordanparker6 avatar jordanparker6 commented on June 3, 2024

@BendaCoding are the types committed and available through npm?

from shards-react.

iamfj avatar iamfj commented on June 3, 2024

I would also appreciate the typescript support.

from shards-react.

vscatarino avatar vscatarino commented on June 3, 2024

Typescript support please!

from shards-react.

paszkowskik avatar paszkowskik commented on June 3, 2024

I also please very much

from shards-react.

dclipca avatar dclipca commented on June 3, 2024

++

from shards-react.

aseerkt avatar aseerkt commented on June 3, 2024

++++

from shards-react.

AdityaThyMoon avatar AdityaThyMoon commented on June 3, 2024

+1 This is basically a requirement of all modern UI frameworks at this point @design-revision

from shards-react.

toyosawa avatar toyosawa commented on June 3, 2024

+1 This is great project! I would appreciate typescript support. Then more better.

from shards-react.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.