UNPKG

@devfamily/admiral

Version:

Admiral is a frontend framework for creating back office using React. It provides out-of-the-box components and tools that make developing an admin interface easy and fast.

21 lines (20 loc) 636 B
import React from 'react'; import type { InputProps } from '../../ui/Input/interfaces'; import { FormItemProps } from '../Item'; import { InputComponentWithName } from '../interfaces'; export interface SlugInputProps extends InputProps, FormItemProps { name: string; from: string; slugLang?: string; options?: SlygifyOptions; onChange?: (value: any) => void; } export declare type SlygifyOptions = { replacement?: string; remove?: RegExp; lower?: boolean; strict?: boolean; locale?: string; trim?: boolean; }; export declare const SlugInput: InputComponentWithName<React.FC<SlugInputProps>>;