Skip to content
This repository has been archived by the owner on Jun 1, 2024. It is now read-only.

Commit

Permalink
fixing lifecycle type (#140)
Browse files Browse the repository at this point in the history
  • Loading branch information
Tiagoperes authored Sep 4, 2020
1 parent 1fff68d commit 4f032d0
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,11 @@
* limitations under the License.
*/

import { BeagleUIElement } from '@zup-it/beagle-web'
import { IdentifiableBeagleUIElement } from '@zup-it/beagle-web'

export function transformItems(tabView: Record<string, any>) {
export function transformItems(tabView: IdentifiableBeagleUIElement) {
if (!Array.isArray(tabView.children)) return
tabView.children.forEach((child: BeagleUIElement) => {
tabView.children.forEach((child) => {
child._beagleComponent_ = 'beagle:tabitem'
})
}

0 comments on commit 4f032d0

Please sign in to comment.