mirror of
https://github.com/gradio-app/gradio.git
synced 2024-12-27 02:30:17 +08:00
46a2b600a7
* fix audio import * set i18n locale * add changeset * tweak * add changeset * add curly brackets * add changeset * changes * add changeset --------- Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com> Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
20 lines
340 B
TypeScript
20 lines
340 B
TypeScript
import type { Preview } from "@storybook/svelte";
|
|
import "./theme.css";
|
|
import { setupi18n } from "../app/src/i18n";
|
|
|
|
setupi18n();
|
|
|
|
const preview: Preview = {
|
|
parameters: {
|
|
actions: { argTypesRegex: "^on[A-Z].*" },
|
|
controls: {
|
|
matchers: {
|
|
color: /(background|color)$/i,
|
|
date: /Date$/
|
|
}
|
|
}
|
|
}
|
|
};
|
|
|
|
export default preview;
|