File tree Expand file tree Collapse file tree 4 files changed +52
-0
lines changed Expand file tree Collapse file tree 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 2929 "exclude" : [
3030 " catalog" ,
3131 " **/demo" ,
32+ " **/tsx" ,
3233 " scripts/"
3334 ]
3435}
You can’t perform that action at this time.
0 commit comments