@aotearoan/neon
Version:
Neon is a lightweight design library of Vue 3 components with minimal dependencies.
65 lines (64 loc) • 1.68 kB
TypeScript
/**
* A component for rendering a piece of content with a label.
*/
declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
/**
* The label to render.
*/
label: {
type: StringConstructor;
required: true;
};
/**
* A single line value to render. NOTE: for more complex content use the default slot instead.
*/
value: {
type: StringConstructor;
};
/**
* Apply an "important" style to the label.
*/
important: {
type: BooleanConstructor;
default: boolean;
};
/**
* Apply the "neon-number" style to the value.
*/
numeric: {
type: BooleanConstructor;
default: boolean;
};
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
/**
* The label to render.
*/
label: {
type: StringConstructor;
required: true;
};
/**
* A single line value to render. NOTE: for more complex content use the default slot instead.
*/
value: {
type: StringConstructor;
};
/**
* Apply an "important" style to the label.
*/
important: {
type: BooleanConstructor;
default: boolean;
};
/**
* Apply the "neon-number" style to the value.
*/
numeric: {
type: BooleanConstructor;
default: boolean;
};
}>> & Readonly<{}>, {
numeric: boolean;
important: boolean;
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
export default _default;