Skip to content

Commit

Permalink
Shw::Divider - Convert to GTS (HDS-3830) (#2459)
Browse files Browse the repository at this point in the history
  • Loading branch information
KristinLBradley authored Sep 26, 2024
1 parent eb4d16b commit 4158421
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 23 deletions.
22 changes: 22 additions & 0 deletions showcase/app/components/shw/divider.gts
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
/**
* Copyright (c) HashiCorp, Inc.
* SPDX-License-Identifier: MPL-2.0
*/

import Component from '@glimmer/component';
import { concat } from '@ember/helper';

export interface ShwDividerSignature {
Args: {
level?: 2;
};
Element: HTMLHRElement;
}

export default class ShwDivider extends Component<ShwDividerSignature> {
<template>
<hr
class="shw-divider {{if @level (concat 'shw-divider--level-' @level)}}"
/>
</template>
}
6 changes: 0 additions & 6 deletions showcase/app/components/shw/divider/index.hbs

This file was deleted.

17 changes: 0 additions & 17 deletions showcase/app/components/shw/divider/index.ts

This file was deleted.

0 comments on commit 4158421

Please sign in to comment.