Update call link edit/add name modals
This commit is contained in:
parent
ba77ef7563
commit
b691e24d5c
20 changed files with 526 additions and 232 deletions
|
@ -18,6 +18,7 @@ import { useRefMerger } from '../hooks/useRefMerger';
|
|||
import { byteLength } from '../Bytes';
|
||||
|
||||
export type PropsType = {
|
||||
autoFocus?: boolean;
|
||||
countBytes?: (value: string) => number;
|
||||
countLength?: (value: string) => number;
|
||||
disabled?: boolean;
|
||||
|
@ -63,6 +64,7 @@ export const Input = forwardRef<
|
|||
PropsType
|
||||
>(function InputInner(
|
||||
{
|
||||
autoFocus,
|
||||
countBytes = byteLength,
|
||||
countLength = grapheme.count,
|
||||
disabled,
|
||||
|
@ -206,6 +208,7 @@ export const Input = forwardRef<
|
|||
const isTextarea = expandable || forceTextarea;
|
||||
|
||||
const inputProps = {
|
||||
autoFocus,
|
||||
className: classNames(
|
||||
getClassName('__input'),
|
||||
icon && getClassName('__input--with-icon'),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue