mirror of
https://github.com/wassname/Open-Assistant.git
synced 2026-09-09 11:15:08 +08:00
new LoadingScreen to replace old loading divs
This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
import { LoadingScreen } from "./LoadingScreen";
|
||||
|
||||
export default {
|
||||
title: "Example/LoadingScreen",
|
||||
component: LoadingScreen,
|
||||
parameters: {
|
||||
layout: "fullscreen",
|
||||
},
|
||||
};
|
||||
|
||||
const Template = (args) => <LoadingScreen {...args} />; //<><div>text</div><div className="max-w-500 mt-40 z-1000 h-full relative"></div></>;
|
||||
|
||||
export const Default = Template.bind({});
|
||||
|
||||
export const WithText = Template.bind({});
|
||||
WithText.args = { text: "Loading Text ..." };
|
||||
Reference in New Issue
Block a user