test: update snap

This commit is contained in:
栗嘉男 2023-07-28 21:09:02 +08:00
parent 0ae6a39778
commit ec86f50650
3 changed files with 1 additions and 3 deletions

View File

@ -1511,7 +1511,6 @@ exports[`renders components/tooltip/demo/disabled.tsx extend context correctly 1
class="ant-select-selection-search"
>
<input
aria-activedescendant="rc_select_TEST_OR_SSR_list_-1"
aria-autocomplete="list"
aria-controls="rc_select_TEST_OR_SSR_list"
aria-expanded="false"

View File

@ -700,7 +700,6 @@ exports[`renders components/tooltip/demo/disabled.tsx correctly 1`] = `
class="ant-select-selection-search"
>
<input
aria-activedescendant="undefined_list_0"
aria-autocomplete="list"
aria-controls="undefined_list"
aria-expanded="false"

View File

@ -1,7 +1,7 @@
import React from 'react';
import { Button, Checkbox, Input, Select, Space, Tooltip, InputNumber } from 'antd';
const WrapperTooltip = (props: { children?: React.ReactNode }) => (
const WrapperTooltip: React.FC<{ children?: React.ReactNode }> = (props) => (
<Tooltip title="Thanks for using antd. Have a nice day!" {...props} />
);