svantic
Version:
A set of Fomantic-UI components for Svelte framework
21 lines (18 loc) • 522 B
TypeScript
import { Component } from '../../component'
import { SvelteComponentTyped } from 'svelte'
import type Content from './content'
type Type = 'fade'|'move'|'rotate'
type Direction = 'up'|'down'|'left'|'right'
type State = 'active'|'disable'
interface RevealProps extends Component {
type?: Type
direction?:Direction
state?:State
instant?:boolean
}
/**
* Vomantic Reveal
*/
export default class Reveal extends SvelteComponentTyped<RevealProps> {
static Content: new () => Content
}