@aotearoan/neon
Version:
Neon is a lightweight design library of Vue 3 components with minimal dependencies.
71 lines (70 loc) • 1.8 kB
TypeScript
import { NeonSize } from '@/common/enums/NeonSize';
/**
* Use input indicators to provide additional information for input fields. This can be useful to add the field units or
* a connected label or icon.
* <br />
* NOTE: An input indicator is an HTML <em>label</em> so attributes like, e.g. <em>for</em> are accepted.
*/
declare const _default: import("vue").DefineComponent<{
/**
* The label to display
*/
label: {
type: StringConstructor;
required: false;
};
/**
* The icon to display
*/
icon: {
type: StringConstructor;
required: false;
};
/**
* The size of the input indicator
*/
size: {
type: () => NeonSize;
default: NeonSize;
};
/**
* Disabled style when used in combination with disabled inputs
*/
disabled: {
type: BooleanConstructor;
default: boolean;
};
}, unknown, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
/**
* The label to display
*/
label: {
type: StringConstructor;
required: false;
};
/**
* The icon to display
*/
icon: {
type: StringConstructor;
required: false;
};
/**
* The size of the input indicator
*/
size: {
type: () => NeonSize;
default: NeonSize;
};
/**
* Disabled style when used in combination with disabled inputs
*/
disabled: {
type: BooleanConstructor;
default: boolean;
};
}>>, {
disabled: boolean;
size: NeonSize;
}, {}>;
export default _default;