Skip to content

Commit

Permalink
chore: fix react snapshot type definitions
Browse files Browse the repository at this point in the history
  • Loading branch information
steve-haar committed Apr 13, 2022
1 parent 842d76d commit 5af869e
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
10 changes: 5 additions & 5 deletions packages/react/src/forms/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,10 @@ import { createComponent } from '@lit-labs/react';
import * as React from 'react';
import { logReactVersion } from '../utils/index.js';

export const CdsControlMessage = createComponent(React, 'cds-control-message', ControlMessage);
export const CdsControlAction = createComponent(React, 'cds-control-action', ControlAction);
export const CdsControlGroup = createComponent(React, 'cds-control-group', ControlGroup);
export const CdsControl = createComponent(React, 'cds-control', Control);
export const CdsFormGroup = createComponent(React, 'cds-form-group', FormGroup);
export const CdsControlMessage = createComponent(React, 'cds-control-message', ControlMessage, {}, 'CdsControlMessage');
export const CdsControlAction = createComponent(React, 'cds-control-action', ControlAction, {}, 'CdsControlAction');
export const CdsControlGroup = createComponent(React, 'cds-control-group', ControlGroup, {}, 'CdsControlGroup');
export const CdsControl = createComponent(React, 'cds-control', Control, {}, 'CdsControl');
export const CdsFormGroup = createComponent(React, 'cds-form-group', FormGroup, {}, 'CdsFormGroup');

logReactVersion(React);
2 changes: 1 addition & 1 deletion packages/react/src/time/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,6 @@ import { createComponent } from '@lit-labs/react';
import * as React from 'react';
import { logReactVersion } from '../utils/index.js';

export const CdsTime = createComponent(React, 'cds-time', TimeInput);
export const CdsTime = createComponent(React, 'cds-time', TimeInput, {}, 'CdsTime');

logReactVersion(React);

0 comments on commit 5af869e

Please sign in to comment.