merge: integrate reviewed M30-M32 with NumberField Slider and migration lessons
This commit is contained in:
@@ -0,0 +1,19 @@
|
||||
import {
|
||||
type InputOTPProps,
|
||||
type PaginationProps,
|
||||
type HeaderProps,
|
||||
} from "@heroui-vue/components";
|
||||
const input: InputOTPProps = {
|
||||
maxLength: 4,
|
||||
modelValue: "1234",
|
||||
variant: "secondary",
|
||||
};
|
||||
const pager: PaginationProps = { size: "sm" };
|
||||
const heading: HeaderProps = { as: "header" };
|
||||
// @ts-expect-error public OTP values are strings
|
||||
const wrongModel: InputOTPProps = { maxLength: 4, modelValue: 1234 };
|
||||
// @ts-expect-error unsupported OTP variant
|
||||
const wrongVariant: InputOTPProps = { maxLength: 4, variant: "ghost" };
|
||||
// @ts-expect-error Pagination has a fixed size set
|
||||
const wrongSize: PaginationProps = { size: "xl" };
|
||||
void [input, pager, heading, wrongModel, wrongVariant, wrongSize];
|
||||
Reference in New Issue
Block a user