Start sharing components as a team!Share components as a team!Join Bit to build your applications faster.Get Started Free

react-typescript

v3.1.40arrow_drop_down
v3.1.40
v3.1.39
v3.1.38
v3.1.37
v3.1.36
v3.1.35
v3.1.34
v3.1.33
v3.1.32
v3.1.31
v3.1.30
v3.1.29
v3.1.28
v3.1.27
v3.1.26
v3.1.25
v3.1.24
v3.1.23
v3.1.22
v3.1.21
v3.1.20
v3.1.19
v3.1.18
v3.1.17
v3.1.16
v3.1.15
v3.1.14
v3.1.13
v3.1.12
v3.1.11
v3.1.10
v3.1.9
v3.1.8
v3.1.7
v3.1.6
v3.1.5
v3.1.4
v3.1.3
v3.1.2
v3.1.1
v3.1.0
v3.0.30
v3.0.29
v3.0.28
v3.0.27
v3.0.26
v3.0.25
v3.0.24
v3.0.23
v3.0.22
v3.0.21
v3.0.20
v3.0.19
v3.0.18
v3.0.17
v3.0.16
v3.0.15
v3.0.14
v3.0.13
v3.0.12
v3.0.11
v3.0.10
v3.0.9
v3.0.8
v3.0.7
v3.0.6
v3.0.5
v3.0.4
v3.0.3
v3.0.2
v3.0.1
v3.0.0
v0.0.23
v0.0.22
v0.0.21
v0.0.20
v0.0.19
v0.0.18
v0.0.17
v0.0.16
v0.0.15
v0.0.14
v0.0.13
v0.0.12
v0.0.11
v0.0.10
v0.0.9
v0.0.8
v0.0.7
v0.0.6
v0.0.5
v0.0.4
v0.0.3
v0.0.2
v0.0.1
STATUS
Passing
DOWNLOADS
32,414
LICENSE
MIT
VISIBILITY
Public
PUBLISHED
A day ago
SIZE
N/A
Bit react typescript compiler. Compiles a React component for TypeScript.
4 contributors
Use react-typescript in your project ?
Copied
npm i @bit/bit.envs.compilers.react-typescript
Set Bit as a scoped registryLearn more
npm config set '@bit:registry' https://node.bit.dev
Component Example
React
React
Vue
Angular
React Native
Add dependency... help_outline
Just
import
any of the 1 million components
and packages in Bit or NPM to the example.
import Button from '@bit/grommet.grommet.button';
import Lodash from 'lodash';
toggle layout
modifieddraft
chevron_left
chevron_right

React-Typescript Compiler

A TypeScript component compiler for Bit. Check out the best practices and also the specific React guidelines.

The compiler is also heavily based on typescript compiler.

How to use?

In order to run this extension your must have a bit workspace with at least one component defined, for more information on how to build please read the docs section on the bit website. TL;DR version:

Install the React-Typescript compiler

$ bit import -c bit.envs/compilers/react-typescript

Then, you can simply build the component using bit build

$ bit build