精简后的项目:仅保留 api/ui 源码、文档、构建依赖
This commit is contained in:
@@ -0,0 +1,17 @@
|
||||
import React from 'react'
|
||||
import Loader from '../primitives/Loader'
|
||||
|
||||
type PaginateLoaderProps = {
|
||||
active: boolean
|
||||
text: string
|
||||
}
|
||||
|
||||
const PaginateLoader = ({ active, text }: PaginateLoaderProps) => (
|
||||
<Loader
|
||||
active
|
||||
message={text}
|
||||
className={active ? 'opacity-100' : 'opacity-0'}
|
||||
/>
|
||||
)
|
||||
|
||||
export default PaginateLoader
|
||||
Reference in New Issue
Block a user