summaryrefslogtreecommitdiff
path: root/frontend/app/components/ellipsis.js
blob: 1cdcae143a41825aaa0f277b2a5ef3c29816b4f6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
import React from 'react';
import { View } from 'react-native';
import { RkStyleSheet } from 'react-native-ui-kitten';

export class Ellipsis extends React.Component {
  render() {
    return (
      <View style={styles.container}>
        <View style={styles.dot} />
        <View style={styles.dot} />
        <View style={styles.dot} />
      </View>
    );
  }
}

let styles = RkStyleSheet.create(theme => ({
  container: {
    flexDirection: 'row',
    marginHorizontal: 5,
    marginVertical: 10,
  },
  dot: {
    height: 5.5,
    width: 5.5,
    borderRadius: 3,
    backgroundColor: theme.colors.text.base,
    marginHorizontal: 2.5,
  },
}));