@dvcol/neo-svelte
Version:
Neomorphic ui library for svelte 5
22 lines (21 loc) • 644 B
TypeScript
import type { Snippet } from 'svelte';
import type { NeoButtonGroupProps } from '../buttons/neo-button-group.model.js';
import type { INeoThemeProviderContext } from './neo-theme-provider.model.js';
export type NeoThemePickerProps = {
/**
* Any children to display in the theme picker.
*/
children?: Snippet<[INeoThemeProviderContext]>;
/**
* The label to show in the background picker.
*
* @default Background
*/
labelBackground?: string;
/**
* The label to show in the text selector.
*
* @default Text
*/
labelText?: string;
} & Omit<NeoButtonGroupProps, 'children'>;