mirror of
https://github.com/apache/skywalking-booster-ui.git
synced 2025-10-14 11:21:29 +00:00
feat: dynamic switching components
This commit is contained in:
@@ -14,11 +14,12 @@
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
import { ElLoading, ILoadingInstance } from "element-plus";
|
||||
import { ElLoading } from "element-plus";
|
||||
|
||||
type Props = { text?: string; fullscreen?: boolean };
|
||||
|
||||
export default function (): {
|
||||
loading: (props: Props) => ILoadingInstance;
|
||||
loading: (props: Props) => any;
|
||||
} {
|
||||
const loading = (props: Props) => {
|
||||
const loadingInstance = ElLoading.service(props);
|
||||
|
Reference in New Issue
Block a user