Skip to content

Commit

Permalink
refactor: index.js to index.ts conversion for tilegroup and password …
Browse files Browse the repository at this point in the history
…input (#16387)

* refactor: index.js to index.ts for tilegroup and password input

* refactor: updated tests for ci
  • Loading branch information
Gururajj77 authored May 10, 2024
1 parent 1df4f8a commit 620bcd2
Show file tree
Hide file tree
Showing 3 changed files with 52 additions and 4 deletions.
52 changes: 51 additions & 1 deletion packages/react/__tests__/__snapshots__/PublicAPI-test.js.snap
Original file line number Diff line number Diff line change
Expand Up @@ -8877,7 +8877,57 @@ Map {
"render": [Function],
},
"TileGroup" => Object {
"displayName": "ClassWrapper(TileGroup)",
"displayName": "TileGroup",
"propTypes": Object {
"children": Object {
"type": "node",
},
"className": Object {
"type": "string",
},
"defaultSelected": Object {
"args": Array [
Array [
Object {
"type": "string",
},
Object {
"type": "number",
},
],
],
"type": "oneOfType",
},
"disabled": Object {
"type": "bool",
},
"legend": Object {
"type": "string",
},
"name": Object {
"isRequired": true,
"type": "string",
},
"onChange": Object {
"type": "func",
},
"required": Object {
"type": "bool",
},
"valueSelected": Object {
"args": Array [
Array [
Object {
"type": "string",
},
Object {
"type": "number",
},
],
],
"type": "oneOfType",
},
},
},
"TimePicker" => Object {
"$$typeof": Symbol(react.forward_ref),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,7 @@
* LICENSE file in the root directory of this source tree.
*/

import { createClassWrapper } from '../../internal/createClassWrapper';
import TileGroupCarbon from './TileGroup';
import TileGroup from './TileGroup';

const TileGroup = createClassWrapper(TileGroupCarbon);
export default TileGroup;
export { TileGroup };

0 comments on commit 620bcd2

Please sign in to comment.