svantic
Version:
A set of Fomantic-UI components for Svelte framework
41 lines (37 loc) • 1.01 kB
TypeScript
import { SvelteComponentTyped } from 'svelte/internal'
import { Style } from '../../style'
import { Attach, Color, Size, Speed } from '../../variations'
import {Module} from '../utils'
import ProgressSettings from './settings'
import type { MountEvent } from '../../common'
type State =
| 'indeterminate'
| 'swinging indeterminate'
| 'sliding indeterminate'
| 'filling indeterminate'
| 'disabled'
| 'error'
| 'warning'
| 'success'
| 'active'
interface ProgressProps extends Module<ProgressSettings> {
indicating?: boolean
attached?: Attach
speed?: Speed
size?: Size
color?: Color
value?: number
total?: number
inverted?: boolean
style?: Style
indeterminate?: boolean | 'swinging' | 'sliding' | 'filling'
disabled?: boolean
error?: boolean
warning?: boolean
success?: boolean
active?: boolean
}
/**
* @description Svantic Multiple Progress
*/
export default class Multiple extends SvelteComponentTyped<ProgressProps> {}