Skip to content

Commit

Permalink
simplify template declaration
Browse files Browse the repository at this point in the history
  • Loading branch information
mollykreis committed Oct 1, 2024
1 parent d62f8ba commit e472b67
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions packages/nimble-components/src/radio-group/template.ts
Original file line number Diff line number Diff line change
@@ -1,16 +1,11 @@
import { elements, html, slotted } from '@microsoft/fast-element';
import type { ViewTemplate } from '@microsoft/fast-element';
import { Orientation } from '@microsoft/fast-web-utilities';
import type { FoundationElementTemplate } from '@microsoft/fast-foundation';
import type { RadioGroup } from '.';
import { errorTextTemplate } from '../patterns/error/template';
import { iconExclamationMarkTag } from '../icons/exclamation-mark';

/* eslint-disable @typescript-eslint/indent */
export const template: FoundationElementTemplate<ViewTemplate<RadioGroup>> = (
_context,
_definition
) => html`
export const template = html<RadioGroup>`
<template
role="radiogroup"
aria-disabled="${x => x.disabled}"
Expand Down

0 comments on commit e472b67

Please sign in to comment.