Skip to content

Commit

Permalink
omim - build
Browse files Browse the repository at this point in the history
  • Loading branch information
dntzhang committed Jul 2, 2019
1 parent 93025c0 commit 0ec7d5f
Show file tree
Hide file tree
Showing 6 changed files with 521 additions and 55 deletions.
12 changes: 6 additions & 6 deletions packages/omim/demos/expansion/bundle.js

Large diffs are not rendered by default.

1 change: 0 additions & 1 deletion packages/omim/src/expansion/index.d.ts
Expand Up @@ -10,7 +10,6 @@ export default class Expansion extends WeElement<Props, Data> {
static propTypes: {
expand: BooleanConstructor;
};
_host: HTMLElement;
preHeight: number;
receiveProps(): boolean;
setAttribute(attr: any, value: any): void;
Expand Down
1 change: 0 additions & 1 deletion packages/omim/src/expansion/index.tsx
Expand Up @@ -18,7 +18,6 @@ export default class Expansion extends WeElement<Props, Data> {
expand: Boolean
}

_host: HTMLElement
preHeight: number

receiveProps(){
Expand Down
28 changes: 22 additions & 6 deletions packages/omim/src/scroll/index.d.ts
@@ -1,11 +1,27 @@
import { WeElement } from 'omi';
export default class SimpleCard extends WeElement {
interface Props {
vertical: boolean;
min: number;
max: number;
sensitivity: number;
factor: number;
step: number;
bindSelf: boolean;
preventDefault: boolean;
onChange: () => void;
onTouchStart: () => void;
onTouchMove: () => void;
onTouchEnd: () => void;
onTap: () => void;
onPressMove: () => void;
onAnimationEnd: () => void;
}
export default class Scroll extends WeElement<Props, {}> {
static css: any;
static propTypes: {
color: StringConstructor;
path: StringConstructor;
info: StringConstructor;
caption: StringConstructor;
vertical: BooleanConstructor;
};
render(props: any): JSX.Element;
installed(): void;
render(): any;
}
export {};

0 comments on commit 0ec7d5f

Please sign in to comment.