@yandex/ui
Version:
Yandex UI components
25 lines (24 loc) • 1.01 kB
TypeScript
import React from 'react';
import './Textinput_view_material.css';
export interface TextinputViewMaterial {
/**
* Текст метки, который отображается как плавающая метка или заполнитель.
*/
label?: string;
/**
* Внешний вид текстового поля.
*/
view?: 'material';
/**
* Вариант внешнего вида компонента
*/
variant?: 'filled' | 'outlined';
}
export declare const withViewMaterial: {
<K extends import("@bem-react/core").IClassNameProps = {}>(WrappedComponent: React.ComponentType<TextinputViewMaterial & K>): (props: TextinputViewMaterial & K) => React.ReactElement<any, string | ((props: any) => React.ReactElement<any, any> | null) | (new (props: any) => React.Component<any, any, any>)>;
__isSimple: boolean;
__blockName: string;
__mod: string;
__value: string | number | boolean | undefined;
__passToProps: boolean;
};