New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

@ivandt/importer-react

Package Overview
Dependencies
Maintainers
1
Versions
31
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@ivandt/importer-react

React wrapper for @ivandt/importer web component

latest
Source
npmnpm
Version
7.0.1
Version published
Maintainers
1
Created
Source

@ivandt/importer-react

React wrapper for the @ivandt/importer web component.

Installation

npm install @ivandt/importer @ivandt/importer-react

Usage

Basic Example

import { IvtImporter } from '@ivandt/importer-react';
import type { IvtSchema } from '@ivandt/importer';

const schema: IvtSchema = {
  title: 'Customer Import',
  fields: [
    {
      key: 'name',
      label: 'Full Name',
      type: 'text',
      validators: [{ type: 'required' }]
    },
    {
      key: 'email',
      label: 'Email',
      type: 'text',
      validators: [{ type: 'email' }]
    }
  ]
};

function App() {
  return (
    <div style={{ height: '600px' }}>
      <IvtImporter schema={schema} />
    </div>
  );
}

Props

PropTypeRequiredDescription
schemaIvtSchemaYesThe schema configuration for your importer
classNamestringNoCSS class name
styleReact.CSSPropertiesNoInline styles

Next.js Dynamic Import

For code splitting in Next.js:

'use client';

import dynamic from 'next/dynamic';
import type { IvtImporterProps } from '@ivandt/importer-react';

const IvtImporter = dynamic<IvtImporterProps>(
    () => import('@ivandt/importer-react'),
    {
      ssr: false,
      loading: () => <div>Loading ....</div>,
    },
);

export default function ImportPage() {
  const schema: IvtSchema = { /* ... */ };
  return <IvtImporter schema={schema} />;
}

TypeScript

Import types from @ivandt/importer:

import type { IvtSchema } from '@ivandt/importer';

For full Importer documentation, see the Ivandt.

License

Proprietary - See LICENSE file

Keywords

react

FAQs

Package last updated on 04 Jan 2026

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts