mirror of
https://github.com/wassname/Open-Assistant.git
synced 2026-06-27 16:10:30 +08:00
18 lines
432 B
React
18 lines
432 B
React
import { LoadingScreen } from "./LoadingScreen";
|
|
|
|
// eslint-disable-next-line import/no-anonymous-default-export
|
|
export default {
|
|
title: "Example/LoadingScreen",
|
|
component: LoadingScreen,
|
|
parameters: {
|
|
layout: "fullscreen",
|
|
},
|
|
};
|
|
|
|
const Template = (args) => <LoadingScreen {...args} />;
|
|
|
|
export const Default = Template.bind({});
|
|
|
|
export const WithText = Template.bind({});
|
|
WithText.args = { text: "Loading Text ..." };
|