8 lines
379 B
JavaScript
8 lines
379 B
JavaScript
import React from 'react';
|
|
import { Box, Text } from 'ink';
|
|
import figures from 'figures';
|
|
function Indicator({ isSelected = false }) {
|
|
return (React.createElement(Box, { marginRight: 1 }, isSelected ? (React.createElement(Text, { color: "blue" }, figures.pointer)) : (React.createElement(Text, null, " "))));
|
|
}
|
|
export default Indicator;
|
|
//# sourceMappingURL=Indicator.js.map
|