@atlaskit/forge-react-types 0.42.18 → 0.42.19
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +7 -0
- package/dist/cjs/components/__generated__/TopNavMiddleProps.codegen.js +5 -0
- package/dist/es2019/components/__generated__/TopNavMiddleProps.codegen.js +1 -0
- package/dist/esm/components/__generated__/TopNavMiddleProps.codegen.js +1 -0
- package/package.json +1 -1
- package/src/components/__generated__/TopNavMiddleProps.codegen.tsx +23 -0
package/CHANGELOG.md
CHANGED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
package/package.json
CHANGED
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* THIS FILE WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
|
|
3
|
+
*
|
|
4
|
+
* Extract component prop types from UIKit 2 components - TopNavMiddleProps
|
|
5
|
+
*
|
|
6
|
+
* @codegen <<SignedSource::d9105e1d85a6d65be052fb925cbca83a>>
|
|
7
|
+
* @codegenCommand yarn workspace @atlaskit/forge-react-types codegen
|
|
8
|
+
* @codegenDependency ../../../../../../services/forge-common-app-gateway/src/components/navigation/TopNavMiddle.tsx <<SignedSource::cdfdd5fe0b77615c5519b81e75970600>>
|
|
9
|
+
*/
|
|
10
|
+
/* eslint @repo/internal/codegen/signed-source-integrity: "warn" */
|
|
11
|
+
|
|
12
|
+
import React from 'react';
|
|
13
|
+
import { TopNavMiddle as PlatformTopNavMiddle } from '@atlaskit/navigation-system/layout/top-nav';
|
|
14
|
+
|
|
15
|
+
type PlatformTopNavMiddleProps = React.ComponentProps<typeof PlatformTopNavMiddle>;
|
|
16
|
+
|
|
17
|
+
export type TopNavMiddleProps = Pick<
|
|
18
|
+
// Setting up TopNavMiddleProps as a Pick of PlatformTopNavMiddleProps
|
|
19
|
+
PlatformTopNavMiddleProps,
|
|
20
|
+
'children'
|
|
21
|
+
>;
|
|
22
|
+
|
|
23
|
+
export type TTopNavMiddle<T> = (props: TopNavMiddleProps) => T;
|