Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
it('should pass when used fbt as export var', () => {
const fbtResult: string = fbt2('text', 'desc');
});
<button>Button with a long label</button>
<div>
<button>
Button with a long label and right icon
</button>
</div>
<div>
<button>
Button with a long label and left icon
</button>
</div>
<div>
<button>
Translated{' '}
{fbt('with a function', 'wow, much desc')}
</button>
</div>
);
};