File tree 4 files changed +52
-0
lines changed
4 files changed +52
-0
lines changed Original file line number Diff line number Diff line change
1
+ /**
2
+ * @license
3
+ * Copyright 2024 Google LLC
4
+ * SPDX-License-Identifier: Apache-2.0
5
+ */
6
+
7
+ import * as React from 'react' ;
8
+ import { createComponent } from '@lit/react' ;
9
+ import { MdFilledTextField } from '../filled-text-field.js' ;
10
+ import { events } from './internal/events.js' ;
11
+ export type { MdFilledTextField } from '../filled-text-field.js' ;
12
+
13
+ // tslint:disable-next-line
14
+ export const FilledTextField = createComponent ( {
15
+ tagName : 'md-filled-text-field' ,
16
+ elementClass : MdFilledTextField ,
17
+ events,
18
+ react : React ,
19
+ } ) ;
Original file line number Diff line number Diff line change
1
+ /**
2
+ * @license
3
+ * Copyright 2024 Google LLC
4
+ * SPDX-License-Identifier: Apache-2.0
5
+ */
6
+
7
+ import { EventName } from '@lit/react' ;
8
+
9
+ // tslint:disable-next-line
10
+ export const events = {
11
+ onChange : 'change' ,
12
+ onInput : 'input' as EventName < InputEvent > ,
13
+ } as const ;
Original file line number Diff line number Diff line change
1
+ /**
2
+ * @license
3
+ * Copyright 2024 Google LLC
4
+ * SPDX-License-Identifier: Apache-2.0
5
+ */
6
+
7
+ import * as React from 'react' ;
8
+ import { createComponent } from '@lit/react' ;
9
+ import { MdOutlinedTextField } from '../outlined-text-field.js' ;
10
+ import { events } from './internal/events.js' ;
11
+ export type { MdOutlinedTextField } from '../outlined-text-field.js' ;
12
+
13
+ // tslint:disable-next-line
14
+ export const OutlinedTextField = createComponent ( {
15
+ tagName : 'md-outlined-text-field' ,
16
+ elementClass : MdOutlinedTextField ,
17
+ events,
18
+ react : React ,
19
+ } ) ;
Original file line number Diff line number Diff line change 29
29
"exclude" : [
30
30
" catalog" ,
31
31
" **/demo" ,
32
+ " **/tsx" ,
32
33
" scripts/"
33
34
]
34
35
}
You can’t perform that action at this time.
0 commit comments