President Donald Trump is praising a new law that will give 12 weeks of paid parental leave to federal workers for the first time.