@okam/next-component 0.0.1 → 0.1.0

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.
@@ -1,3 +0,0 @@
1
- import type TImgProps from './interface';
2
- declare const Img: (props: TImgProps) => import("react/jsx-runtime").JSX.Element;
3
- export default Img;
@@ -1,6 +0,0 @@
1
- import type { TDefaultComponent } from '@okam/stack-ui';
2
- import type { ImageProps, StaticImageData } from 'next/image';
3
- type TImgProps = TDefaultComponent & Omit<ImageProps, 'src'> & {
4
- src: string | StaticImageData;
5
- };
6
- export default TImgProps;
package/src/index.d.ts DELETED
@@ -1 +0,0 @@
1
- export * from './lib/next-component';
@@ -1 +0,0 @@
1
- export declare function HelloServer(): Promise<import("react/jsx-runtime").JSX.Element>;
@@ -1,4 +0,0 @@
1
- export interface NextComponentProps {
2
- }
3
- export declare function NextComponent(props: NextComponentProps): import("react/jsx-runtime").JSX.Element;
4
- export default NextComponent;
package/src/server.d.ts DELETED
@@ -1 +0,0 @@
1
- export * from './lib/hello-server';