import Icon from '../common/Icon'; type KeywordPositionProps = { position: number, updating?: boolean, type?: string, } const KeywordPosition = ({ position = 0, type = '', updating = false }:KeywordPositionProps) => { if (!updating && position === 0) { return {'>100'}; } if (updating && type !== 'sc') { return ; } return <>{Math.round(position)}; }; export default KeywordPosition;