1import React from 'react';
2import { Box } from '@tlon/indigo-react';
4import './LayerIndicator.scss';
6export interface LayerIndicatorProps {
8 size?: 'sm' | 'smt' | 'md' | 'lg';
13const LayerIndicator = ({
18}: LayerIndicatorProps) => {
19 const classes = `layer-indicator ${size} l${layer} ${className} ${
20 selected ? 'selected' : ''
23 return <Box className={classes}>L{layer}</Box>;
26export default LayerIndicator;
keysesc to close
- j k
- move down, up
- enter
- open
- esc
- back, or up a level
- 1 2 3 4
- readme, files, commits, refs
- /
- filter
- y
- copy the clone command
- c
- compare the chosen commit with another (or shift-click both)
- ?
- show or hide this list