import * as React from 'react'; import { Avatar, AvatarGroup, Backdrop, Badge, Breadcrumbs, Button, Calendar, Caption, Card, CardSubdued, CardHeader, CardBody, CardFooter, Chip, Checkbox, Column, DatePicker, Dropdown, EditableDropdown, TimePicker, MultiSlider, Heading, Icon, Input, InputMask, Label, Link, Legend, MetaList, MetricInput, Message, Paragraph, Radio, Row, Text, OutsideClick, ProgressBar, StatusHint, Pills, Spinner, Slider, RangeSlider, Subheading, Switch, Textarea, Toast, Popover, ChipInput, VerticalNav, HorizontalNav, Tooltip, Dialog, Modal, ModalHeader, ModalFooter, ModalBody, ModalDescription, FullscreenModal, Sidesheet, Collapsible, ChatMessage, EmptyState, Pagination, PlaceholderParagraph, Placeholder, EditableInput, ProgressRing, Stepper, DateRangePicker, TabsWrapper, Tab, Dropzone, FileUploader, FileUploaderList, Grid, GridCell, Table, List, InlineMessage, ChoiceList, } from './index'; // $ExpectType Element ; // $ExpectError Property 'age' does not exist on type ; // $ExpectType Element ; // $ExpectType Element ; // $ExpectType Element {'Failed'} ; // $ExpectError Type 'string' is not assignable to type 'boolean | undefined'. {'Failed'} ; // $ExpectType Element console.log('')} className="My-custom-style" />; // $ExpectError Type '{}' is missing the following properties from type 'Breadcrumb': label, link ; // $ExpectType Element ; // $ExpectError Type '"small"' is not assignable to type '"regular" | "tiny" | "large" | undefined'. ; // $ExpectType Element {}} rangePicker={true} jumpView={true} />; {}} />; // $ExpectType Element Daily progress campaign starts Campaign will start immediately Campaign will not start immediately Subdued section. ; // $ExpectError Type '"red"' is not assignable to type '"dark" | "default" | "none" | "light" | "medium" | undefined'.
; // $ExpectError Type 'string' is not assignable to type 'boolean | undefined'. Card footer ; // $ExpectType Element {}} onClose={() => {}} selected={false} />; {}} onClose={() => {}} selected={false} />; // $ExpectType Element {}} />; // $ExpectError Type 'number' is not assignable to type 'string | undefined'. {}} />; // $ExpectError Type '"20"' is not assignable to type '1 | 8 | 2 | 10 | "auto" | "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "10" | "11" | "12" | 3 | 4 | 5 | 6 | 7 | 9 | 11 | 12 | undefined'. ; // $ExpectType Element console.log('date')} firstDayOfWeek="monday" inputOptions={{ required: true, }} />; // $ExpectError Type '""' is not assignable to type '"dd/mm/yyyy" | "mm/dd/yyyy" | "yyyy/mm/dd" | "mm-dd-yyyy" | "dd-mm-yyyy" | "yyyy-mm-dd" | undefined'. ; // $ExpectType Element {}} time="3:30 AM" inputOptions={{ placeholderChar: '*', }} />; // $ExpectType Element {}} onClose={() => {}} loading={true} />; // $ExpectError JSX attributes must only be assigned a non-empty 'expression'. ; // $ExpectType Element {}} size={24} />; // $ExpectType Element {}} onClear={() => {}} disabled={true} />; // $ExpectError Type '"submit"' is not assignable to type '"number" | "text" | "password" | "email" | "tel" | "url" | undefined'. ; // $ExpectType Element {}} name="input" disabled={false} readOnly={false} onClick={() => {}} placeholder="placeholder" prefix="#" suffix="$" icon="icon" error={false} />; // $ExpectError Type 'null' is not assignable to type 'string | undefined'. ; // $ExpectType Element {}} placeholder="placeholder" inlineLabel="inlineLabel" size="tiny" icon="icon" required={true} error={false} caption="caption" info="info" mask={[/\d/, /\d/, /\d/, /\d/, ' ', /\d/, /\d/, /\d/, /\d/, ' ', /\d/, /\d/, /\d/, /\d/, ' ', /\d/, /\d/, /\d/, /\d/]} />; // $ExpectError Type 'string' is not assignable to type 'Mask'. ; // $ExpectType Element ; // $ExpectType Element With Error ; // $ExpectType Element Legend ; // $ExpectError Type '"none"' is not assignable to type '"link" | "subtle" | "success" | "default" | "disabled" | "destructive" | "white" | undefined'. Legend ; // $ExpectType Element {}, options: [{ label: 'label1', value: 'value1' }], }} />; // $ExpectType Element {}} appearance="subtle" size="tiny"> Link ; // $ExpectType Element action
} appearance="alert" description="Could not start verification. Please try again later." />; // $ExpectType Element action} appearance="alert" description="Could not start verification. Please try again later." />; // $ExpectType Element ; // $ExpectType Element {}}> ; // $ExpectType Element {}}> Card ; // $ExpectType Element ; // $ExpectType Element 437 wil receive the message.; // $ExpectType Element {'Pills'} ; // $ExpectType Element ; // $ExpectType Element {}} className="mt-2" />; // $ExpectType Element {}} className="mt-2" />; // $ExpectType Element Subheading; // $ExpectType Element {}} />; // $ExpectType Element