You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
26 lines
529 B
TypeScript
26 lines
529 B
TypeScript
|
6 years ago
|
import React from 'react';
|
||
|
|
|
||
|
|
import { SessionIconButton, SessionIconType, SessionIconSize } from './icon';
|
||
|
|
|
||
|
|
interface Props {
|
||
|
|
count: number,
|
||
|
|
}
|
||
|
|
|
||
|
|
export class SessionScrollButton extends React.PureComponent<Props> {
|
||
|
|
constructor(props: any) {
|
||
|
|
super(props);
|
||
|
|
}
|
||
|
|
|
||
|
|
public render() {
|
||
|
|
console.log(`My count is: ${this.props.count}`);
|
||
|
|
|
||
|
|
return (
|
||
|
|
<SessionIconButton
|
||
|
|
iconType={SessionIconType.Chevron}
|
||
|
|
iconSize={SessionIconSize.Huge}
|
||
|
|
iconColor={"#FFFFFF"}
|
||
|
|
/>
|
||
|
|
);
|
||
|
|
}
|
||
|
|
}
|