Skip to content

Commit 816fa37

Browse files
authored
fix: actions/test (#107)
1 parent 30d9f69 commit 816fa37

File tree

2 files changed

+5
-12
lines changed

2 files changed

+5
-12
lines changed

packages/headless/src/components/drawer/drawer-trigger.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,6 @@ export interface DrawerTriggerProps {
66
drawerId?: string;
77
}
88

9-
export const DrawerTrigger = component$((props: DrawerTriggerProps) => (
9+
export const DrawerTrigger = component$(() => (
1010
<Slot />
1111
));

packages/headless/src/components/select/select.tsx

Lines changed: 4 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ interface SelectRootContextService {
2222
setListBoxRef$: QRL<(ref: Signal<HTMLElement | undefined>) => void>;
2323
}
2424

25-
const selectContext = createContext<SelectRootContextService>('select-root');
25+
export const selectContext = createContext<SelectRootContextService>('select-root');
2626

2727
interface StyleProps {
2828
class?: string;
@@ -166,19 +166,15 @@ const Value = component$(({ placeholder, ...props }: ValueProps) => {
166166
return <span {...props}>{value ? value : placeholder}</span>;
167167
});
168168

169-
interface MarkerProps extends StyleProps {}
170-
171-
const Marker = component$(({ ...props }: MarkerProps) => {
169+
const Marker = component$(({ ...props }: StyleProps) => {
172170
return (
173171
<span aria-hidden="true" {...props}>
174172
<Slot />
175173
</span>
176174
);
177175
});
178176

179-
interface ListBoxProps extends StyleProps {}
180-
181-
const ListBox = component$(({ ...props }: ListBoxProps) => {
177+
const ListBox = component$(({ ...props }: StyleProps) => {
182178
const ref = useSignal<HTMLElement>();
183179
const contextService = useContext(selectContext);
184180

@@ -243,9 +239,7 @@ const Group = component$(({ disabled, ...props }: GroupProps) => {
243239
);
244240
});
245241

246-
interface LabelProps extends StyleProps {}
247-
248-
const Label = component$(({ ...props }: LabelProps) => {
242+
const Label = component$(({ ...props }: StyleProps) => {
249243
return (
250244
<label {...props}>
251245
<Slot />
@@ -305,7 +299,6 @@ const Option = component$(({ disabled, value, ...props }: OptionProps) => {
305299
});
306300

307301
export {
308-
selectContext,
309302
Root,
310303
Trigger,
311304
Value,

0 commit comments

Comments
 (0)