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