INIT
This commit is contained in:
+12
@@ -0,0 +1,12 @@
|
||||
import {} from "svelte-toolbelt";
|
||||
import { Context } from "runed";
|
||||
export const DateRangePickerRootContext = new Context("DateRangePicker.Root");
|
||||
export class DateRangePickerRootState {
|
||||
static create(opts) {
|
||||
return DateRangePickerRootContext.set(new DateRangePickerRootState(opts));
|
||||
}
|
||||
opts;
|
||||
constructor(opts) {
|
||||
this.opts = opts;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user