Giter Site home page Giter Site logo

reactstrap.d.ts's Introduction

reactstrap.d.ts

Temporary Reactstrap definition files (IN PROGRESS)

First pass (each component may not be 100% thorough):

  • Components (done)
  • Alerts (done)
  • Badge (done)
  • Breadcrumbs (done)
  • Buttons (done)
  • Button Dropdown (done)
  • Button Group (done)
  • Card (done)
  • Collapse (done)
  • Dropdowns (done)
  • Form (done)
  • Input Group (done)
  • Jumbotron (done)
  • Layout (done)
  • List Group (done)
  • Media (done)
  • Modals (done)
  • Navbar (done)
  • Navs (done)
  • Pagination (done)
  • Popovers (done)
  • Progress (done)
  • Tables (done)
  • Tabs (done)
  • Tooltips (done)

Second pass (Ensure accuracy of each component, double check with source code):

  • In progress

Please throw out suggestions, or even just let me know if this was helpful! Thanks!

reactstrap.d.ts's People

Contributors

albertkim avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar

reactstrap.d.ts's Issues

Move to DefinititlyTyped

Hey @albertkim,

nice work so far. Have you ever considered putting your typings to DefinitlyTyped? So typings can evolve independently and one can easily install typings with

[npm|yarn] i @types/reactstrap

If you need help with, leave me a PM!

Will the definition file be packaged with reactstrap or published on definitelytyped?

Hey I wrote type definitions for individual components separately following the original directory structure of the library.
https://github.com/alihammad-gist/reactstrap
I also aggregated all the examples from reactstrap's documentation reactstrap-tests.tsx it will be useful to test your definitions, I ran into some problems with Input element like the static property is a reserved keyword in typescript for static class members. Secondly the size property in Input is also the size property of a vanilla HTML element input which is a number, I see you extended the same interface and must have seen this error. I structure my definitions so I could push it to definitelytyped repository to be used in node_modules/@types folder, the benefit of not publishing definition with the library is that you wouldn't have to release a new version of the library to fix errors with API you define in type definitions.

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.