Builds a string of fragment names that can be interpolated into a GraphQL query. Each name is separated by a newline character: '\n'. If an empty array is passed, an empty string is returned. Only the first fragment name from each passed fragment is returned.