First of all the given compound is NaF.
This compound is an ionic compound. Sodium gives its one electron and becomes Na+ which is accepted by the fluorine atom and it becomes F-. The compound thus formed is an ionic bond as there is transfer of electron.
Na ----> Na+ + e-
F + e- -----> F-.
Na+ + F- -----> NaF