@atlaskit/forge-react-types v0.10.1
Forge React Types
This package exposes a public npm package (@atlaskit/forge-react-types
) that contains
all necessary types for UIKit2 codegen components.
The types are code generated from the @atlassian/forge-ui
package and are
guaranteed to be in sync with the source component implementation in the @atlassian/forge-ui
package.
Additionally, the package syncs ADS component related dependencies from @atlassian/forge-ui
package, to ensure that the types are in sync with the source component implementation. This allows @forge/react package to
have the consistent ADS component dependencies to the AFM platform, instead
of being bounded by other dependencies in the Forge mono-repo.
Usage
To generate / update all types, run the following command:
yarn workspace @atlaskit/forge-react-types codegen
During development, the codegen command can be run for a specific component:
yarn workspace @atlaskit/forge-react-types codegen <component-name>
e.g.
yarn workspace @atlaskit/forge-react-types codegen ButtonProps
NOTE: Make sure any new component prop types are being exported from packages/forge/forge-react-types/src/components/__generated__/index.ts
3 days ago
5 days ago
5 days ago
7 days ago
10 days ago
12 days ago
14 days ago
24 days ago
1 month ago
2 months ago
2 months ago
2 months ago
2 months ago
2 months ago
2 months ago
2 months ago
2 months ago
2 months ago
2 months ago
2 months ago
3 months ago
3 months ago
3 months ago