Refactor, move all pages to separate folder
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
import { Component } from 'solid-js'
|
||||
|
||||
import styles from './spinner.module.css'
|
||||
|
||||
export const LoadingSpinner: Component<{ text: string; }> = ({ text }) => {
|
||||
return (
|
||||
<div>
|
||||
<span class={styles.spinner}></span>
|
||||
<span style={{ "padding-left": "16px" }}>{ text }</span>
|
||||
</div>
|
||||
)
|
||||
}
|
||||
Reference in New Issue
Block a user