Socket
Socket
Sign inDemoInstall

@altiore/form

Package Overview
Dependencies
7
Maintainers
1
Versions
180
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.3.29 to 0.3.30

17

dist/form/form.d.ts
import { FormProps } from './types';
/**
* Компонент Form принимает children, defaultValues, onSubmit
/** Форма - элемент взаимодействия пользователя с сайтом или приложением
*
* @component
*
* @typedef Form
* @prop {React.ReactNode} [children] Childrens формы
* @prop {React.ReactNode} [defaultValues] Дефолтные значения
* @prop {func} [onSubmit] ...
*
* @example
*import {Form} from '@altiore/form';
* const Template: ComponentStory<typeof Form> = ({children, ...args}) => (
*<Form {...args}>{children}</Form>
*);
* return (any)
* Простейший вариант формы выглядит следующим образом: мы используем элементы <input name="name"/> и <button type="submit">Submit</button>, предварительно импортировав ее из библиотеки <a href ='https://github.com/altiore/form'>@altiore/form</a>.
*/
export declare const Form: <Values extends Record<string, any> = Record<string, any>>({ children, defaultValues, onSubmit, }: FormProps<Values>) => JSX.Element;

@@ -20,18 +20,5 @@ var __assign = (this && this.__assign) || function () {

import { FieldType } from '../@common/types';
/**
* Компонент Form принимает children, defaultValues, onSubmit
/** Форма - элемент взаимодействия пользователя с сайтом или приложением
*
* @component
*
* @typedef Form
* @prop {React.ReactNode} [children] Childrens формы
* @prop {React.ReactNode} [defaultValues] Дефолтные значения
* @prop {func} [onSubmit] ...
*
* @example
*import {Form} from '@altiore/form';
* const Template: ComponentStory<typeof Form> = ({children, ...args}) => (
*<Form {...args}>{children}</Form>
*);
* return (any)
* Простейший вариант формы выглядит следующим образом: мы используем элементы <input name="name"/> и <button type="submit">Submit</button>, предварительно импортировав ее из библиотеки <a href ='https://github.com/altiore/form'>@altiore/form</a>.
*/

@@ -38,0 +25,0 @@ export var Form = function (_a) {

2

package.json
{
"name": "@altiore/form",
"version": "0.3.29",
"version": "0.3.30",
"description": "Form helper for building powerful forms",

@@ -5,0 +5,0 @@ "main": "dist/index.js",

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc