1import React from 'react';
2import { Box, Icon, Row } from '@tlon/indigo-react';
6export interface CardProps {
13 children?: React.ReactNode;
16export default function Card({
26 <Box className="card" onClick={disabled ? undefined : onClick}>
27 {(!!icon || !!title) && (
30 {!!title && <Box className="card-title">{title}</Box>}
33 {!!subtitle && <Box className="card-subtitle">{subtitle}</Box>}
36 <Row className="card-warning">
37 <Icon icon="ExclaimationMark" color="white" />
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