File tree 3 files changed +53
-0
lines changed
3 files changed +53
-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 'google3/javascript/lit/wiz_tsx/create-component.js' ;
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
+
19
+ react : React ,
20
+ } ) ;
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 'google3/javascript/lit/wiz_tsx/create-component.js' ;
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
+
19
+ react : React ,
20
+ } ) ;
You can’t perform that action at this time.
0 commit comments