import { EngineContext } from 'Components/utils/EngineContext' import Value, { ValueProps, Condition } from 'Components/EngineValue' import React, { useContext } from 'react' import { Trans } from 'react-i18next' import { DottedName } from 'Rules' import { coerceArray } from '../utils' import RuleLink from './RuleLink' export let SalaireBrutSection = () => { return (

Salaire

) } export let SalaireNetSection = () => { return (

Salaire net

) } type LineProps = { rule: DottedName negative?: boolean } & Omit export function Line({ rule, displayedUnit = '€', negative = false, className, ...props }: LineProps) { const parsedRules = useContext(EngineContext).getParsedRules() return ( ) }